summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tcpwrap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tcpwrap.c b/src/tcpwrap.c
index 579aad56e9..38e2ead438 100644
--- a/src/tcpwrap.c
+++ b/src/tcpwrap.c
@@ -21,6 +21,8 @@
#include <sys/socket.h>
#include <sys/un.h>
+#include <arpa/inet.h>
+#include <netinet/in.h>
#ifdef HAVE_LIBWRAP
#include <tcpd.h>