diff options
author | Jeremy T. Bouse <undrgrid@users.sourceforge.net> | 2003-03-09 18:13:24 (GMT) |
---|---|---|
committer | Jeremy T. Bouse <undrgrid@users.sourceforge.net> | 2003-03-09 18:13:24 (GMT) |
commit | 1890b94ddf22dde6b4f4d76d9f39c6e7bdec4bc9 (patch) | |
tree | 0f54c007cbc45093a4eef651231b1f8f6a0664ca /plugins | |
parent | 3dfd480b220f6ccdd410357fec457f6280a409f4 (diff) | |
download | monitoring-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
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/common.h.in | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ | |||
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 |