blob: 34b326447a24b4be63954a1f860b276dfee7f499 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$NetBSD: patch-ah,v 1.2 2007/10/02 20:23:08 heinz Exp $
--- classes/fuzzdict.c.orig 1994-10-05 06:18:22.000000000 +0100
+++ classes/fuzzdict.c
@@ -4,6 +4,9 @@
* unique prefix. Need to find a better name.
*/
+#include <stdlib.h>
+#include <string.h>
+
#define _CLASS_FuzzDict_PRIVATE_
#include "fuzzdict.h"
@@ -18,7 +21,9 @@ typedef dict_value_t Value_t;
#define SUPER_remove(S, K) dict_remove ((Dict)(S), K)
#define SUPER_keys(S) dict_keys ((Dict)(S))
+#if !defined(HAVE_STRERROR)
extern int strcmp(), strcasecmp(), strncmp(), strncasecmp();
+#endif
/* Private function declarations */
#ifdef __STDC__
|