Sat, 01 Sep 2012 12:17:10 +0200
Back out attempt to repair gets(3) redefinition and correct rather by
avoiding detection of gets(3) as a method with no macro, otherwise
leading to definition of HAVE_RAW_DECL_GETS and redefition of gets(3)
in lib/stdio.h(.in) caused by 'a split double-inclusion guard' and
a seemingly multiple '#include_next <stdio.h>' reference. Quatch.
michael@549 | 1 | Index: src/snort.h |
michael@549 | 2 | --- src/snort.h.orig 2009-09-14 21:12:14 +0200 |
michael@549 | 3 | +++ src/snort.h 2009-09-19 09:27:59 +0200 |
michael@549 | 4 | @@ -92,7 +92,7 @@ |
michael@549 | 5 | #define RF_ANY_FLAGS 0x20 |
michael@549 | 6 | |
michael@549 | 7 | #ifndef WIN32 |
michael@549 | 8 | -# define DEFAULT_LOG_DIR "/var/log/snort" |
michael@549 | 9 | +# define DEFAULT_LOG_DIR "@l_prefix@/var/snort" |
michael@549 | 10 | # define DEFAULT_DAEMON_ALERT_FILE "alert" |
michael@549 | 11 | #else |
michael@549 | 12 | # define DEFAULT_LOG_DIR "log" |