blob: f6fe77052340a981be8f9d504656f6c993046366 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-ac,v 1.3 2005/10/07 16:38:41 joerg Exp $
--- src/lib/lib.h.orig 1999-11-17 20:08:07.000000000 +0000
+++ src/lib/lib.h
@@ -2,6 +2,7 @@
/* Lib functions for divers programs. */
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include "config.h"
@@ -16,7 +17,7 @@
#if HAVE_MALLOC_H
# include <malloc.h>
-#elif defined STDC_HEADERS
+#elif !defined STDC_HEADERS
extern void free PARAMS ((char *));
extern char *malloc PARAMS ((int));
extern char *realloc PARAMS ((char*, int));
|