summaryrefslogtreecommitdiff
path: root/x11/xview-clients/patches/patch-dj
blob: b082cf28937c72b242d30eb97986903498bed76a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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>