summaryrefslogtreecommitdiff
path: root/x11/xview-clients/patches/patch-dj
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xview-clients/patches/patch-dj')
-rw-r--r--x11/xview-clients/patches/patch-dj17
1 files changed, 17 insertions, 0 deletions
diff --git a/x11/xview-clients/patches/patch-dj b/x11/xview-clients/patches/patch-dj
new file mode 100644
index 00000000000..b082cf28937
--- /dev/null
+++ b/x11/xview-clients/patches/patch-dj
@@ -0,0 +1,17 @@
+$NetBSD: patch-dj,v 1.1 2001/12/28 14:58:07 tron Exp $
+
+--- olwmslave/mem.c.orig Tue Jun 29 07:12:12 1993
++++ olwmslave/mem.c Fri Dec 28 15:55:42 2001
+@@ -16,7 +16,12 @@
+ *
+ */
+
++#include <sys/param.h>
++#if (defined(BSD) && (BSD >= 199103))
++#include <stdlib.h>
++#else
+ #include <malloc.h>
++#endif
+ #include <memory.h>
+ #include <stdio.h>
+ #include <sys/types.h>