freebsd-ports/security/distcache/files/patch-proto_fd.c
Pav Lucistnik b432ed11ba Distributed session caching tools and APIs, primarily for SSL/TLS servers
though perhaps useful for other (non-SSL/TLS) circumstances.

Also includes a self-contained network abstraction library (libnal), and the
sslswamp SSL/TLS benchmark/test utility.

PR:		ports/79878
Submitted by:	Marcel Prisi <marcel.prisi@virtua.ch>
2005-04-18 19:04:40 +00: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 */