pkgsrc/x11/xview-lib/patches/patch-cb
tron 71146f333e Cleanup patch files:
- unified format
- only one patch per file
- no files gets patched twice
2001-12-20 09:19:53 +00:00

17 lines
415 B
Text

$NetBSD: patch-cb,v 1.1 2001/12/20 09:20:01 tron Exp $
--- lib/libxview/panel/p_txt.c.orig Tue Jun 29 07:16:55 1993
+++ lib/libxview/panel/p_txt.c Thu Dec 20 10:09:17 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 <string.h>
#include <ctype.h>
#include <X11/X.h>