summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/snort/files/snort-2.1.0-gcc3.patch')
-rw-r--r--net-analyzer/snort/files/snort-2.1.0-gcc3.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-analyzer/snort/files/snort-2.1.0-gcc3.patch b/net-analyzer/snort/files/snort-2.1.0-gcc3.patch
new file mode 100644
index 000000000000..972aee39c74a
--- /dev/null
+++ b/net-analyzer/snort/files/snort-2.1.0-gcc3.patch
@@ -0,0 +1,12 @@
+diff -ur snort-2.0.2/src/util.h snort-2.0.2-gentoo/src/util.h
+--- snort-2.0.2/src/util.h 2003-03-27 09:59:30.000000000 +1200
++++ snort-2.0.2-gentoo/src/util.h 2003-10-10 02:11:41.000000000 +1300
+@@ -39,6 +39,8 @@
+ #include "strlcpyu.h"
+ #endif
+
++#include <sys/types.h>
++
+ extern u_long netmasks[33];
+
+ /* Self preservation memory control struct */