From 1890b94ddf22dde6b4f4d76d9f39c6e7bdec4bc9 Mon Sep 17 00:00:00 2001 From: "Jeremy T. Bouse" Date: Sun, 9 Mar 2003 18:13:24 +0000 Subject: [PATCH] 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 --- plugins/common.h.in | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.30.2