Explorar o código

Added in a define for HAVE_GETOPT_H for backwards compatibility

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@311 f882894a-f735-0410-b71e-b25c423dba1c
Ton Voon %!s(int64=23) %!d(string=hai) anos
pai
achega
0a02912625
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      plugins/common.h.in

+ 2 - 2
plugins/common.h.in

@@ -66,9 +66,9 @@
 #include <signal.h>
 #endif
 
-/* #ifdef HAVE_GETOPT_H */
+/* TODO: define can be removed when all ifdef in each plugin has been removed */
+#define HAVE_GETOPT_H
 #include <getopt.h>
-/* #endif */
 
 #include <ctype.h>