26 lines
586 B
Text
26 lines
586 B
Text
$NetBSD: patch-ab,v 1.18 2006/02/20 17:56:36 joerg Exp $
|
|
|
|
--- libtiff/tiffio.h.orig 2006-02-20 17:43:42.000000000 +0000
|
|
+++ libtiff/tiffio.h
|
|
@@ -30,6 +30,10 @@
|
|
/*
|
|
* TIFF I/O Library Definitions.
|
|
*/
|
|
+
|
|
+/* NULL */
|
|
+#include <stddef.h>
|
|
+
|
|
#include "tiff.h"
|
|
#include "tiffvers.h"
|
|
|
|
@@ -97,10 +101,6 @@ typedef HFILE thandle_t; /* client data
|
|
typedef void* thandle_t; /* client data handle */
|
|
#endif /* USE_WIN32_FILEIO */
|
|
|
|
-#ifndef NULL
|
|
-# define NULL (void *)0
|
|
-#endif
|
|
-
|
|
/*
|
|
* Flags to pass to TIFFPrintDirectory to control
|
|
* printing of data structures that are potentially
|