freebsd-ports/x11-toolkits/xview/files/patch-lib+libolgx+ol_sb.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

15 lines
318 B
C

--- lib/libolgx/ol_sb.c.orig Mon Sep 29 00:02:40 2003
+++ lib/libolgx/ol_sb.c Mon Sep 29 00:02:39 2003
@@ -11,7 +11,12 @@
*/
#include <stdio.h>
+#include <sys/param.h>
+#ifdef __STDC__
+#include <stdlib.h>
+#else
#include <malloc.h>
+#endif
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include "olgx_impl.h"