-
Incident report
-
Resolution: Fixed
-
Minor
-
1.4.3
-
None
Here is a fix for a warning during compile on Fedora/RHEL - "... _GNU_SOURCE redefined ..."
— zabbix-1.4.2.orig/include/sysinc.h 2007-08-20 21:22:22.000000000 +0200
+++ zabbix-1.4.2/include/sysinc.h 2007-09-19 11:44:08.000000000 +0200
@@ -288,7 +288,9 @@
#ifdef HAVE_GETOPT_H
- ifdef HAVE_GETOPT_LONG
- define _GNU_SOURCE
- include <getopt.h>+# if !defined(_GNU_SOURCE)
+# define _GNU_SOURCE
+# endif
- endif
#endif