opnsense-ports/security/distcache/files/patch-proto_fd.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

18 lines
451 B
C

*** libnal/proto_fd.c.ori Wed Apr 13 19:34:07 2005
--- libnal/proto_fd.c Wed Apr 13 21:51:20 2005
***************
*** 24,29 ****
--- 24,36 ----
#include <libnal/nal.h>
#include "nal_internal.h"
#include <libsys/post.h>
+ #ifdef __FreeBSD__
+ #if __FreeBSD_version >= 502010
+ #include <sys/limits.h>
+ #else
+ #include <machine/limits.h>
+ #endif
+ #endif /* __FreeBSD__ */
/**************************/
/* predeclare our vtables */