Code

write_graphite plugin: Adding LogSendErrors boolean flag
[collectd.git] / src / olsrd.c
index d9a6b17fd94a59a1ffabdd41fcbd24137fefe7cd..be422ab61068d284ef5f1bbc9455bb7e9a214db4 100644 (file)
 #include "plugin.h"
 
 #include <sys/types.h>
-#include <sys/socket.h>
 #include <netdb.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <netinet/tcp.h>
 
 #define OLSRD_DEFAULT_NODE "localhost"
 #define OLSRD_DEFAULT_SERVICE "2006"