Code

Make sure sys/socket.h is explicitly included if HAVE_SYS_SOCKET_H is defined
authorJeremy T. Bouse <undrgrid@users.sourceforge.net>
Sun, 9 Mar 2003 18:13:24 +0000 (18:13 +0000)
committerJeremy T. Bouse <undrgrid@users.sourceforge.net>
Sun, 9 Mar 2003 18:13:24 +0000 (18:13 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@389 f882894a-f735-0410-b71e-b25c423dba1c

plugins/common.h.in

index 09df00dd5c42d43e6a918e410106c4530cc002e1..56d5376123775711d28cd190aa1e87476b43c04b 100644 (file)
 #include <sys/types.h>
 #endif
 
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+
 #ifdef HAVE_SIGNAL_H
 #include <signal.h>
 #endif