summaryrefslogtreecommitdiff
path: root/tools/tiffinfo.c
diff options
context:
space:
mode:
authorAndrey Kiselev <dron@ak4719.spb.edu>2004-09-03 08:16:01 +0000
committerAndrey Kiselev <dron@ak4719.spb.edu>2004-09-03 08:16:01 +0000
commite7976c2ad85efdf76eb9bed08490a93c58723e45 (patch)
tree94b7aea8b7afa9039e537cd0062dbba1453a4636 /tools/tiffinfo.c
parentb7d0571dc749f3f20d58faf80868d6ce75a9b727 (diff)
downloadlibtiff-git-e7976c2ad85efdf76eb9bed08490a93c58723e45.tar.gz
Avoid warnings.
Diffstat (limited to 'tools/tiffinfo.c')
-rw-r--r--tools/tiffinfo.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/tools/tiffinfo.c b/tools/tiffinfo.c
index e41e680d..b1f50fd7 100644
--- a/tools/tiffinfo.c
+++ b/tools/tiffinfo.c
@@ -1,4 +1,4 @@
-/* $Id: tiffinfo.c,v 1.6 2004-07-06 15:20:37 warmerda Exp $ */
+/* $Id: tiffinfo.c,v 1.7 2004-09-03 08:19:27 dron Exp $ */
/*
* Copyright (c) 1988-1997 Sam Leffler
@@ -24,10 +24,20 @@
* OF THIS SOFTWARE.
*/
+#include "tif_config.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#ifdef HAVE_STRINGS_H
+# include <strings.h>
+#endif
+
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
#include "tiffio.h"
#define streq(a,b) (strcasecmp(a,b) == 0)
@@ -428,3 +438,5 @@ tiffinfo(TIFF* tif, uint16 order, long flags)
TIFFReadData(tif);
}
}
+
+/* vim: set ts=8 sts=8 sw=8 noet: */