src/rrdd.[ch]: Implement listening to arbitrary addresses.
[rrdd.git] / src / rrdd.h
index 33e6f2f..e8ea258 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,6 @@
 
 #include "config.h"
 
-#define RRDD_SOCK_PATH "/tmp/rrdd.sock"
+#define RRDD_SOCK_PATH "unix:/tmp/rrdd.sock"
 
 #endif /* __RRDD_H */