aboutsummaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/misc.c b/src/misc.c
index c0e62fa2..d8d58c0a 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -26,6 +26,9 @@
/* This is needed for a standard getpwuid_r on opensolaris */
#define _POSIX_PTHREAD_SEMANTICS
#include <pwd.h>
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
#include <arpa/inet.h>
#endif