From: Jeremy T. Bouse Date: Sun, 9 Mar 2003 18:13:24 +0000 (+0000) Subject: Make sure sys/socket.h is explicitly included if HAVE_SYS_SOCKET_H is defined X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1890b94ddf22dde6b4f4d76d9f39c6e7bdec4bc9;p=nagiosplug.git 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 #endif +#ifdef HAVE_SYS_SOCKET_H +#include +#endif + #ifdef HAVE_SIGNAL_H #include #endif