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

16 lines
470 B
Plaintext

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