[Nagiosplug-checkins] CVS: nagiosplug/plugins common.h.in,1.5,1.6
Jeremy T. Bouse
undrgrid at users.sourceforge.net
Sun Mar 9 10:14:05 CET 2003
Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv2600/plugins
Modified Files:
common.h.in
Log Message:
Make sure sys/socket.h is explicitly included if HAVE_SYS_SOCKET_H is defined
Index: common.h.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/common.h.in,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** common.h.in 7 Mar 2003 22:11:25 -0000 1.5
--- common.h.in 9 Mar 2003 18:13:24 -0000 1.6
***************
*** 63,66 ****
--- 63,70 ----
#endif
+ #ifdef HAVE_SYS_SOCKET_H
+ #include <sys/socket.h>
+ #endif
+
#ifdef HAVE_SIGNAL_H
#include <signal.h>
More information about the Commits
mailing list