openbsd-ports/x11/xview/config/patches/p-libxview-panel-p_txt_c
2010-05-28 01:13:54 +00:00

16 lines
414 B
Plaintext

--- lib/libxview/panel/p_txt.c.orig Tue Jun 29 07:16:55 1993
+++ lib/libxview/panel/p_txt.c Sun May 23 14:16:14 2010
@@ -10,7 +10,12 @@ static char sccsid[] = "@(#)p_txt.c 20.217 93/06/2
* 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>