1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/net/openafs/files/patch-src__afs__sysincludes.h
Hiroki Sato d83551b371 - Update to 1.6.6.
- Fix build on 10 or later.
- Add STAGEDIR support.
- Use USES=kmod.
- Use *_USES, CONFIGURE_OFF instead of PORT_OPTIONS:MFUSE.
- Use ${CFLAGS} for XCFLAGS.
- Style cleanups.

Approved by:	bjk (maintainer)
2014-02-18 03:50:18 +00:00

18 lines
433 B
C

diff --git a/src/afs/sysincludes.h b/src/afs/sysincludes.h
index 3e3a172..10343b8 100644
--- a/src/afs/sysincludes.h
+++ b/src/afs/sysincludes.h
@@ -202,6 +202,12 @@ typedef unsigned short etap_event_t;
# include "h/systm.h"
# include "h/time.h"
+# ifdef AFS_FBSD_ENV
+# include <sys/socket.h>
+# include <net/if.h>
+# include <net/if_var.h>
+# endif
+
# ifdef AFS_AIX_ENV
# ifdef AFS_AIX41_ENV
# include "sys/statfs.h"