summaryrefslogtreecommitdiff
path: root/sysutils/xfm/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xfm/patches/patch-ab')
-rw-r--r--sysutils/xfm/patches/patch-ab19
1 files changed, 19 insertions, 0 deletions
diff --git a/sysutils/xfm/patches/patch-ab b/sysutils/xfm/patches/patch-ab
new file mode 100644
index 00000000000..79b3a2de24b
--- /dev/null
+++ b/sysutils/xfm/patches/patch-ab
@@ -0,0 +1,19 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/06/04 16:44:55 cjep Exp $
+
+--- src/Fm.h.orig Tue Aug 1 09:09:35 2000
++++ src/Fm.h Tue Aug 1 09:16:04 2000
+@@ -19,10 +19,14 @@
+ #include <malloc.h>
+ #endif
+
++#if defined(__FreeBSD__) || defined(__NetBSD__)
++#include <stdlib.h>
++#else
+ #ifdef _AIX
+ #pragma alloca
+ #else
+ #include <alloca.h>
++#endif
+ #endif
+
+ #include <stdio.h>