summaryrefslogtreecommitdiff
path: root/x11/xview-lib/patches/patch-dy
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xview-lib/patches/patch-dy')
-rw-r--r--x11/xview-lib/patches/patch-dy17
1 files changed, 17 insertions, 0 deletions
diff --git a/x11/xview-lib/patches/patch-dy b/x11/xview-lib/patches/patch-dy
new file mode 100644
index 00000000000..2c8914e35b8
--- /dev/null
+++ b/x11/xview-lib/patches/patch-dy
@@ -0,0 +1,17 @@
+$NetBSD: patch-dy,v 1.1 2001/12/20 09:20:09 tron Exp $
+
+--- lib/libolgx/ol_sb.c.orig Tue Jun 29 07:18:29 1993
++++ lib/libolgx/ol_sb.c Thu Dec 20 10:09:16 2001
+@@ -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"