summaryrefslogtreecommitdiff
path: root/x11/fvwm95/patches/patch-ab
blob: cc3b7fbfa5d35e296a981ba22d349085e6ae06ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ab,v 1.2 1998/08/07 11:18:03 agc 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>