1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- fix build error in 4.x

"cvs update - sys/types.h should be before socket.h"

PR:		ports/102922
Submitted by:	Jez Hancock <jez.hancock_AT_munk dot me dot uk>
This commit is contained in:
Cheng-Lung Sung 2006-09-06 06:15:08 +00:00
parent 8687757fbe
commit dabdff80f9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=172377
2 changed files with 16 additions and 0 deletions

View File

@ -47,6 +47,10 @@ DOCS= RELEASE.NOTES doc/AUTHORS doc/BUGS doc/CREDITS \
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500036
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-sf_snort_plugin_api.h
.endif
.if !defined(WITHOUT_DYNAMIC)
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes

View File

@ -0,0 +1,12 @@
--- src/dynamic-plugins/sf_engine/sf_snort_plugin_api.h.orig Fri Feb 3 01:49:10 2006
+++ src/dynamic-plugins/sf_engine/sf_snort_plugin_api.h Wed Sep 6 13:53:28 2006
@@ -36,8 +36,8 @@
#include "stdio.h"
#ifndef WIN32
-#include <netinet/in.h>
#include <sys/types.h>
+#include <netinet/in.h>
#else
typedef unsigned char u_int8_t;
typedef unsigned short u_int16_t;