freebsd-ports/security/snort/files/patch-util_net.h
Sergei Kolobov 82c79ffa07 - Update to 2.1.0 [1]
- Install some additional documentation [1]
- Fix WITH_MYSQL, WITH_ODBC and WITH_POSTGRES knobs [2]

PR:		60400 [1], 59445 [2]
Submitted by:	Nicolas Jombart <ecu@ipv42.net> [1],
		Ken Stailey <kstailey@yahoo.com> [2]
2003-12-19 23:20:22 +00:00

16 lines
341 B
C

--- src/sfutil/util_net.h.orig Fri Dec 19 14:32:47 2003
+++ src/sfutil/util_net.h Fri Dec 19 14:34:31 2003
@@ -11,7 +11,12 @@
#ifndef _UTIL_NET_H
#define _UTIL_NET_H
-#include <stdint.h>
+
+#if HAVE_STDINT_H
+ #include <stdint.h>
+#else
+ #include <inttypes.h>
+#endif
char *inet_ntoax(uint32_t ip);
char * mktcpflag_str(int flags);