Get this compiling again on FreeBSD
[darkstat] / acct.c
diff --git a/acct.c b/acct.c
index ef6d514..a00e86f 100644 (file)
--- a/acct.c
+++ b/acct.c
@@ -28,6 +28,7 @@
 #include <arpa/inet.h> /* for inet_aton() */
 #define __FAVOR_BSD
 #include <netinet/tcp.h>
+#include <sys/socket.h>
 #include <stdlib.h> /* for free */
 #include <string.h> /* for memcpy */