summaryrefslogtreecommitdiff
path: root/tools/tiffinfo.c
diff options
context:
space:
mode:
authormiguel <medalist@sapo.pt>2021-01-05 19:40:55 +0000
committermiguel <medalist@sapo.pt>2021-01-05 19:40:55 +0000
commitf2bfeb92b7d63ee4edbbe7f4e6078187a8e86ea0 (patch)
tree1e6c72aa889798afc44a5702f994bc3f3f85d8d7 /tools/tiffinfo.c
parentdcd410f6374244fea9f03001e38df70efb970096 (diff)
downloadlibtiff-git-f2bfeb92b7d63ee4edbbe7f4e6078187a8e86ea0.tar.gz
tiff tools: include 'libport.h', remove local definition of 'getopt()'
Diffstat (limited to 'tools/tiffinfo.c')
-rw-r--r--tools/tiffinfo.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/tiffinfo.c b/tools/tiffinfo.c
index 438911ae..a7c5f767 100644
--- a/tools/tiffinfo.c
+++ b/tools/tiffinfo.c
@@ -23,6 +23,7 @@
*/
#include "tif_config.h"
+#include "libport.h"
#include <stdio.h>
#include <stdlib.h>
@@ -36,10 +37,6 @@
# include <unistd.h>
#endif
-#ifdef NEED_LIBPORT
-# include "libport.h"
-#endif
-
#include "tiffiop.h"
#ifndef EXIT_SUCCESS