summaryrefslogtreecommitdiff
path: root/net/snort/patches
diff options
context:
space:
mode:
Diffstat (limited to 'net/snort/patches')
-rw-r--r--net/snort/patches/patch-aa19
1 files changed, 19 insertions, 0 deletions
diff --git a/net/snort/patches/patch-aa b/net/snort/patches/patch-aa
new file mode 100644
index 00000000000..9f129136b6f
--- /dev/null
+++ b/net/snort/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1 2000/02/02 12:06:16 agc Exp $
+
+Solaris needs extra definitions
+
+--- snort.h 2000/02/01 16:00:21 1.1
++++ snort.h 2000/02/01 16:01:51
+@@ -20,6 +20,12 @@
+ #ifndef __SNORT_H__
+ #define __SNORT_H__
+
++#if defined(__svr4__) && defined(__sun__)
++typedef unsigned char u_int8_t;
++typedef unsigned short u_int16_t;
++typedef unsigned int u_int32_t;
++#endif
++
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
+ #endif