From 5e9dc153609a849e1818763f9bc4187c90f34a71 Mon Sep 17 00:00:00 2001 From: Timothy Redaelli Date: Wed, 25 Apr 2012 14:07:24 +0200 Subject: [PATCH] We should include netinet/in.h to use sockaddr_in (POSIX.1-2001) --- src/compat.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/compat.h b/src/compat.h index db340445..804a8141 100644 --- a/src/compat.h +++ b/src/compat.h @@ -21,10 +21,8 @@ #include #include #include -#include -#endif -#ifdef BSD #include +#include #endif typedef u_int SOCKET;