openbsd-ports/x11/xview/config/patches/p-libolgx-ol_sb_c

16 lines
362 B
Plaintext

--- lib/libolgx/ol_sb.c.orig 1993-06-29 07:18:29.000000000 +0200
+++ lib/libolgx/ol_sb.c 2003-12-30 01:31:11.000000000 +0100
@@ -11,7 +11,12 @@
*/
#include <stdio.h>
+#include <sys/param.h>
+#if (defined(BSD) && (BSD >= 199103))
+#include <stdlib.h>
+#else
#include <malloc.h>
+#endif
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include "olgx_impl.h"