summaryrefslogtreecommitdiff
path: root/net/snort/patches/patch-aa
blob: 9f129136b6f1eb9b969564ae9663a4eeeeec4c33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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