summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6f620e0)
raw | patch | inline | side by side (parent: 6f620e0)
author | Rob Lensen <rob@bsdfreaks.nl> | |
Wed, 27 Feb 2008 07:04:57 +0000 (08:04 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Wed, 27 Feb 2008 07:04:57 +0000 (08:04 +0100) |
src/tcpconns.c | patch | blob | history |
diff --git a/src/tcpconns.c b/src/tcpconns.c
index 00cad0e46fa8b4e7857a3c929882a8a6409dacae..fdf7ec1bf1ed867c5f08080c89e0e8a235557330 100644 (file)
--- a/src/tcpconns.c
+++ b/src/tcpconns.c
#elif HAVE_SYSCTLBYNAME
# include <sys/socketvar.h>
# include <sys/sysctl.h>
+
+/* Some includes needed for compiling on FreeBSD */
+#include <sys/time.h>
+#if HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+#if HAVE_SYS_SOCKET_H
+# include <sys/socket.h>
+#endif
+#if HAVE_NET_IF_H
+# include <net/if.h>
+#endif
+
# include <net/route.h>
# include <netinet/in.h>
# include <netinet/in_systm.h>