freebsd-ports/x11-toolkits/xview/files/patch-clients+olwm+mem.c
Pav Lucistnik bbff923854 - Redo this port. Now it compiles on -current again.
PR:		ports/58176
Submitted by:	Pedro F. Giffuni <giffunip@yahoo.com>
2003-12-13 23:38:21 +00:00

16 lines
300 B
C

--- ./clients/olwm/mem.c.orig Tue Jun 29 07:11:45 1993
+++ ./clients/olwm/mem.c Sat Apr 1 18:26:06 2000
@@ -14,8 +14,12 @@
*
*/
-
+#include <sys/param.h>
+#ifdef __STDC__
+#include <stdlib.h>
+#else
#include <malloc.h>
+#endif
#include <memory.h>
#include <stdio.h>
#include <sys/types.h>