aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2003-02-10 23:28:16 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2003-02-10 23:28:16 +0000
commit0a0291262551a9f1527c510109f4fd80e128ae53 (patch)
tree46e3983e7b1bae7b2673ea7b5791941658b349b9 /plugins
parent07a08052081b59d26add4adf0ae4519fbacb8a36 (diff)
downloadmonitoring-plugins-0a0291262551a9f1527c510109f4fd80e128ae53.tar.gz
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
Diffstat (limited to 'plugins')
-rw-r--r--plugins/common.h.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/common.h.in b/plugins/common.h.in
index 535ae4a0..48e7f6f4 100644
--- a/plugins/common.h.in
+++ b/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>