summaryrefslogtreecommitdiff
path: root/wm/fvwm95/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'wm/fvwm95/patches/patch-ab')
-rw-r--r--wm/fvwm95/patches/patch-ab18
1 files changed, 18 insertions, 0 deletions
diff --git a/wm/fvwm95/patches/patch-ab b/wm/fvwm95/patches/patch-ab
new file mode 100644
index 00000000000..99a62af3f84
--- /dev/null
+++ b/wm/fvwm95/patches/patch-ab
@@ -0,0 +1,18 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/12 02:03:48 wiz Exp $
+
+--- modules/FvwmForm/FvwmForm.c.orig Sat Feb 1 14:02:05 1997
++++ modules/FvwmForm/FvwmForm.c Sat Feb 1 14:03:13 1997
+@@ -16,7 +16,13 @@
+ #include <X11/cursorfont.h>
+ #define XK_MISCELLANY
+ #include <X11/keysymdef.h>
++
++#ifdef __FreeBSD__
++#include <stdlib.h>
++#else
+ #include <malloc.h>
++#endif
++
+ #include <string.h>
+ #include <sys/types.h>
+ #include <sys/time.h>