summaryrefslogtreecommitdiff
path: root/x11/xview-lib/patches/patch-bw
blob: 29d22691bae26e9a5b40291207c4b5aff17bdb9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-bw,v 1.1 2001/12/20 09:20:01 tron Exp $

--- lib/libxview/panel/p_drop.c.orig	Tue Jun 29 07:17:04 1993
+++ lib/libxview/panel/p_drop.c	Thu Dec 20 10:09:16 2001
@@ -10,7 +10,12 @@
  *	file for terms of the license.
  */
 
+#include <sys/param.h>
+#if (defined(BSD) && (BSD >= 199103))
+#include <stdlib.h>
+#else
 #include <malloc.h>
+#endif
 #include <xview_private/draw_impl.h>
 #include <xview_private/i18n_impl.h>
 #include <xview_private/panel_impl.h>