summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy T. Bouse <undrgrid@users.sourceforge.net>2003-03-09 18:13:24 +0000
committerJeremy T. Bouse <undrgrid@users.sourceforge.net>2003-03-09 18:13:24 +0000
commit1890b94ddf22dde6b4f4d76d9f39c6e7bdec4bc9 (patch)
tree0f54c007cbc45093a4eef651231b1f8f6a0664ca
parent3dfd480b220f6ccdd410357fec457f6280a409f4 (diff)
downloadmonitoring-plugins-1890b94ddf22dde6b4f4d76d9f39c6e7bdec4bc9.tar.gz
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
-rw-r--r--plugins/common.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/common.h.in b/plugins/common.h.in
index 09df00dd..56d53761 100644
--- a/plugins/common.h.in
+++ b/plugins/common.h.in
@@ -62,6 +62,10 @@
62#include <sys/types.h> 62#include <sys/types.h>
63#endif 63#endif
64 64
65#ifdef HAVE_SYS_SOCKET_H
66#include <sys/socket.h>
67#endif
68
65#ifdef HAVE_SIGNAL_H 69#ifdef HAVE_SIGNAL_H
66#include <signal.h> 70#include <signal.h>
67#endif 71#endif