2013-09-26 17:14:40 +02:00

24 lines
426 B
Plaintext

$NetBSD: patch-al,v 1.2 2007/07/28 01:42:50 joerg Exp $
--- memory.c.orig 1999-09-06 15:38:10.000000000 +0000
+++ memory.c
@@ -1,11 +1,14 @@
+#if !defined(USE_VARARGS)
+#include <stdarg.h>
+#else
+#include <varargs.h>
+#endif
+
#include <string.h>
#include <limits.h>
-#include <malloc.h>
+#include <stdlib.h>
#ifndef XFRACT
#include <io.h>
-#include <stdarg.h>
-#else
-#include <varargs.h>
#endif
#include <ctype.h>