pkgsrc/x11/xview-clients/patches/patch-ae
tron 6999f4df07 Cleanup patch files:
- unified format
- only one patch per file
- no files get patched twice
2001-12-28 14:58:02 +00:00

23 lines
469 B
Text

$NetBSD: patch-ae,v 1.2 2001/12/28 14:58:02 tron Exp $
--- olwm/mem.c.orig Tue Jun 29 07:11:45 1993
+++ olwm/mem.c Fri Dec 28 15:55:43 2001
@@ -1,4 +1,3 @@
-#ident "@(#)mem.c 26.9 91/08/25 SMI"
/*
* (c) Copyright 1989 Sun Microsystems, Inc.
@@ -14,8 +13,12 @@
*
*/
-
+#include <sys/param.h>
+#if (defined(BSD) && (BSD >= 199103))
+#include <stdlib.h>
+#else
#include <malloc.h>
+#endif
#include <memory.h>
#include <stdio.h>
#include <sys/types.h>