aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2005-06-18 10:53:32 +0800
committerthompsa <thompsa@FreeBSD.org>2005-06-18 10:53:32 +0800
commit38c87879b781bee0e790c0f58c82c2793d0a2159 (patch)
treea57ed1e829c65a09503e1a3e67c601a20fbc13e5 /net
parenta6639f1f3774c7d5fa9716df8c349a04eb7cf78f (diff)
downloadfreebsd-ports-gnome-38c87879b781bee0e790c0f58c82c2793d0a2159.tar.gz
freebsd-ports-gnome-38c87879b781bee0e790c0f58c82c2793d0a2159.tar.zst
freebsd-ports-gnome-38c87879b781bee0e790c0f58c82c2793d0a2159.zip
Fix build on 4.x, regex.h requires types.h for off_t.
Approved by: lesi
Diffstat (limited to 'net')
-rw-r--r--net/freeradius/files/patch-src-modules-rlm_attr_rewrite-rlm_attr_rewrite.c10
-rw-r--r--net/freeradius2/files/patch-src-modules-rlm_attr_rewrite-rlm_attr_rewrite.c10
2 files changed, 20 insertions, 0 deletions
diff --git a/net/freeradius/files/patch-src-modules-rlm_attr_rewrite-rlm_attr_rewrite.c b/net/freeradius/files/patch-src-modules-rlm_attr_rewrite-rlm_attr_rewrite.c
new file mode 100644
index 000000000000..87dc2eb821e2
--- /dev/null
+++ b/net/freeradius/files/patch-src-modules-rlm_attr_rewrite-rlm_attr_rewrite.c
@@ -0,0 +1,10 @@
+--- src/modules/rlm_attr_rewrite/rlm_attr_rewrite.c.orig Sat Jun 18 14:29:43 2005
++++ src/modules/rlm_attr_rewrite/rlm_attr_rewrite.c Sat Jun 18 14:31:48 2005
+@@ -27,6 +27,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <sys/types.h>
+ #ifdef HAVE_REGEX_H
+ # include <regex.h>
+ #endif
diff --git a/net/freeradius2/files/patch-src-modules-rlm_attr_rewrite-rlm_attr_rewrite.c b/net/freeradius2/files/patch-src-modules-rlm_attr_rewrite-rlm_attr_rewrite.c
new file mode 100644
index 000000000000..87dc2eb821e2
--- /dev/null
+++ b/net/freeradius2/files/patch-src-modules-rlm_attr_rewrite-rlm_attr_rewrite.c
@@ -0,0 +1,10 @@
+--- src/modules/rlm_attr_rewrite/rlm_attr_rewrite.c.orig Sat Jun 18 14:29:43 2005
++++ src/modules/rlm_attr_rewrite/rlm_attr_rewrite.c Sat Jun 18 14:31:48 2005
+@@ -27,6 +27,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <sys/types.h>
+ #ifdef HAVE_REGEX_H
+ # include <regex.h>
+ #endif