blob: d1edc5c529d248e421932879df0b721fb0fd2936 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
$NetBSD: patch-av,v 1.3 2005/07/14 14:59:10 wiz Exp $
--- libtiff/tiffiop.h.orig 2005-07-05 18:38:13.000000000 +0200
+++ libtiff/tiffiop.h
@@ -32,26 +32,29 @@
#include "tif_config.h"
-#if HAVE_FCNTL_H
+#ifdef HAVE_FCNTL_H
# include <fcntl.h>
#endif
-#if HAVE_SYS_TYPES_H
+#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
-#if HAVE_STRING_H
+#ifdef HAVE_STRING_H
# include <string.h>
#endif
-#if HAVE_ASSERT_H
+#ifdef HAVE_ASSERT_H
# include <assert.h>
#else
# define assert(x)
#endif
-#if HAVE_SEARCH_H
+#ifdef HAVE_SEARCH_H
# include <search.h>
+#else
+extern void *lfind(const void *, const void *, size_t *, size_t,
+ int (*)(const void *, const void *));
#endif
#include "tiffio.h"
|