blob: 70bb1b7ce901054c8b6c5eaff5b72549f5350718 (
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-af,v 1.11 2006/02/14 21:57:44 adam Exp $
--- converter/other/cameratopam/identify.c.orig 2005-08-27 19:29:58.000000000 +0200
+++ converter/other/cameratopam/identify.c
@@ -23,7 +23,11 @@
static loadRawFn load_raw;
+#include <sys/param.h>
+#if !(defined(__GLIBC__) \
+ || (defined(__NetBSD__) && (__NetBSD_Version__ >= 300000000)) \
+ || (defined(__FreeBSD__) && (__FreeBSD_version >= 600000)))
/* This does the same as the function of the same name in the GNU C library */
static const char *memmem (const char *haystack, size_t haystacklen,
const char *needle, size_t needlelen)
@@ -34,6 +38,7 @@ static const char *memmem (const char *h
return c;
return NULL;
}
+#endif
/*
Thanks to Adobe for providing these excellent CAM -> XYZ matrices!
|