mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-26 13:31:08 -04:00
24 lines
426 B
Plaintext
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>
|
|
|