src/rrdd.[ch]: Move DEFAULT_PORT to rrdd.h.
[rrdd.git] / src / rrdd.h
index 33e6f2f..52d5066 100644 (file)
@@ -62,6 +62,7 @@
 #include <signal.h>
 #include <sys/socket.h>
 #include <sys/un.h>
+#include <netdb.h>
 #include <poll.h>
 #include <syslog.h>
 #include <pthread.h>
@@ -73,6 +74,7 @@
 
 #include "config.h"
 
-#define RRDD_SOCK_PATH "/tmp/rrdd.sock"
+#define RRDD_SOCK_PATH "unix:/tmp/rrdd.sock"
+#define DEFAULT_PORT "42217"
 
 #endif /* __RRDD_H */