92b1db2025
- Mark as LICENSE sun-openlook-license - Bump pkgrevision
23 lines
454 B
Text
23 lines
454 B
Text
$NetBSD: patch-ae,v 1.3 2009/12/10 20:37:36 abs Exp $
|
|
|
|
--- olwm/mem.c.orig 1993-06-29 05:11:45.000000000 +0000
|
|
+++ olwm/mem.c
|
|
@@ -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>
|