summaryrefslogtreecommitdiff
path: root/security/vpnc/files/patch-sysdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'security/vpnc/files/patch-sysdep.h')
-rw-r--r--security/vpnc/files/patch-sysdep.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/vpnc/files/patch-sysdep.h b/security/vpnc/files/patch-sysdep.h
new file mode 100644
index 000000000000..7817f3dcdd77
--- /dev/null
+++ b/security/vpnc/files/patch-sysdep.h
@@ -0,0 +1,13 @@
+--- sysdep.h.orig 2009-03-25 03:28:26.000000000 -0400
++++ sysdep.h 2009-03-25 03:29:18.000000000 -0400
+@@ -86,6 +86,10 @@
+ #define HAVE_FGETLN 1
+ #define HAVE_UNSETENV 1
+ #define HAVE_SETENV 1
++#include <sys/param.h>
++#if __FreeBSD_version >= 800067
++#define HAVE_GETLINE 1
++#endif
+ #endif
+
+ /***************************************************************************/