Code

Added in a define for HAVE_GETOPT_H for backwards compatibility
authorTon Voon <tonvoon@users.sourceforge.net>
Mon, 10 Feb 2003 23:28:16 +0000 (23:28 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Mon, 10 Feb 2003 23:28:16 +0000 (23:28 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@311 f882894a-f735-0410-b71e-b25c423dba1c

plugins/common.h.in

index 535ae4a017954248cbdd161670140d6af68105d5..48e7f6f4bc3cd08c366ee6f9be2fe3cfdab64b8d 100644 (file)
@@ -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>