From 1890b94ddf22dde6b4f4d76d9f39c6e7bdec4bc9 Mon Sep 17 00:00:00 2001
From: "Jeremy T. Bouse" <undrgrid@users.sourceforge.net>
Date: Sun, 9 Mar 2003 18:13:24 +0000
Subject: Make sure sys/socket.h is explicitly included if HAVE_SYS_SOCKET_H is
 defined

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@389 f882894a-f735-0410-b71e-b25c423dba1c

diff --git a/plugins/common.h.in b/plugins/common.h.in
index 09df00d..56d5376 100644
--- a/plugins/common.h.in
+++ b/plugins/common.h.in
@@ -62,6 +62,10 @@
 #include <sys/types.h>
 #endif
 
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+
 #ifdef HAVE_SIGNAL_H
 #include <signal.h>
 #endif
-- 
cgit v0.10-9-g596f

