summaryrefslogtreecommitdiff
path: root/graphics/xpaint/files/patch-fileName.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xpaint/files/patch-fileName.c')
-rw-r--r--graphics/xpaint/files/patch-fileName.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/xpaint/files/patch-fileName.c b/graphics/xpaint/files/patch-fileName.c
new file mode 100644
index 000000000000..10b0e2b295cd
--- /dev/null
+++ b/graphics/xpaint/files/patch-fileName.c
@@ -0,0 +1,20 @@
+--- fileName.c.orig Mon Nov 8 21:41:46 2004
++++ fileName.c Sun Jan 30 18:55:53 2005
+@@ -38,7 +38,7 @@
+ #include <stdio.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+-#if defined(SYSV) || defined(SVR4) || defined(__CYGWIN__) || defined(__VMS )
++#if defined(SYSV) || defined(SVR4) || defined(__CYGWIN__) || defined(__VMS ) || defined(__FreeBSD__)
+ #include <dirent.h>
+ #else
+ #include <sys/dir.h>
+@@ -409,7 +409,7 @@
+ setCWD(arg_t * arg, char *dir)
+ {
+ DIR *dirp;
+-#if defined(SYSV) || defined(SVR4) || defined(__alpha) || defined(__CYGWIN__)
++#if defined(SYSV) || defined(SVR4) || defined(__alpha) || defined(__CYGWIN__) || defined(__FreeBSD__)
+ struct dirent *e;
+ #else
+ struct direct *e;