aboutsummaryrefslogtreecommitdiff
path: root/editors/xvile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/xvile')
-rw-r--r--editors/xvile/files/patch-filec.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/xvile/files/patch-filec.c b/editors/xvile/files/patch-filec.c
new file mode 100644
index 000000000000..a6faea39511f
--- /dev/null
+++ b/editors/xvile/files/patch-filec.c
@@ -0,0 +1,11 @@
+--- filec.c.orig 2008-02-14 11:54:22.713522435 +0100
++++ filec.c 2008-02-14 11:55:24.224617839 +0100
+@@ -38,7 +38,7 @@
+
+ #define isDotname(leaf) (!strcmp(leaf, ".") || !strcmp(leaf, ".."))
+
+-#if defined(MISSING_EXTERN_ENVIRON) || (defined(__DJGPP__) && __DJGPP__ >= 2)
++#if defined(MISSING_EXTERN_ENVIRON) || (defined(__DJGPP__) && __DJGPP__ >= 2) || defined(__BSD_VISIBLE)
+ extern char **environ;
+ #endif
+