Yakovetsky Vladimir in PR pkg/36942. Shut up warning by pkglint (PLIST). Introduced PKGMANDIR in software Makefile.
24 lines
624 B
Text
24 lines
624 B
Text
$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__
|