aboutsummaryrefslogtreecommitdiff
path: root/graphics/grafx2/files/patch-realpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/grafx2/files/patch-realpath.c')
-rw-r--r--graphics/grafx2/files/patch-realpath.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/grafx2/files/patch-realpath.c b/graphics/grafx2/files/patch-realpath.c
new file mode 100644
index 000000000000..83665bc876ab
--- /dev/null
+++ b/graphics/grafx2/files/patch-realpath.c
@@ -0,0 +1,11 @@
+--- ./realpath.c.orig 2012-11-28 11:58:06.000000000 +0100
++++ ./realpath.c 2012-11-28 11:58:22.000000000 +0100
+@@ -6,7 +6,7 @@
+ #include <fcntl.h>
+ #include <string.h>
+ #include <unistd.h>
+-#if defined(__AROS__) || defined(__linux__) || defined(__GLIBC__)
++#if defined(__AROS__) || defined(__linux__) || defined(__GLIBC__) || defined(__FreeBSD__)
+ #include <limits.h>
+ #endif
+