瀏覽代碼

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 23 年之前
父節點
當前提交
0a02912625
共有 1 個文件被更改,包括 2 次插入2 次删除
  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>