blob: db5c364c90cc9aa66342b472d431134f89ba7218 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-cb,v 1.2 2009/12/10 20:35:57 abs Exp $
--- lib/libxview/panel/p_txt.c.orig 1993-06-29 05:16:55.000000000 +0000
+++ lib/libxview/panel/p_txt.c
@@ -10,7 +10,12 @@ static char sccsid[] = "@(#)p_txt.c
* file for terms of the license.
*/
+#include <sys/param.h>
+#if (defined(BSD) && (BSD >= 199103))
+#include <stdlib.h>
+#else
#include <malloc.h>
+#endif
#include <string.h>
#include <ctype.h>
#include <X11/X.h>
|