summaryrefslogtreecommitdiff
path: root/security/distcache/files/patch-proto_fd.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/distcache/files/patch-proto_fd.c')
-rw-r--r--security/distcache/files/patch-proto_fd.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/security/distcache/files/patch-proto_fd.c b/security/distcache/files/patch-proto_fd.c
new file mode 100644
index 000000000000..a9bbf9a8bba2
--- /dev/null
+++ b/security/distcache/files/patch-proto_fd.c
@@ -0,0 +1,18 @@
+*** 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 */