diff options
author | miguel <medalist@sapo.pt> | 2021-01-05 19:40:55 +0000 |
---|---|---|
committer | miguel <medalist@sapo.pt> | 2021-01-05 19:40:55 +0000 |
commit | f2bfeb92b7d63ee4edbbe7f4e6078187a8e86ea0 (patch) | |
tree | 1e6c72aa889798afc44a5702f994bc3f3f85d8d7 /tools/tiff2pdf.c | |
parent | dcd410f6374244fea9f03001e38df70efb970096 (diff) | |
download | libtiff-git-f2bfeb92b7d63ee4edbbe7f4e6078187a8e86ea0.tar.gz |
tiff tools: include 'libport.h', remove local definition of 'getopt()'
Diffstat (limited to 'tools/tiff2pdf.c')
-rw-r--r-- | tools/tiff2pdf.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/tools/tiff2pdf.c b/tools/tiff2pdf.c index 785d318a..800af01d 100644 --- a/tools/tiff2pdf.c +++ b/tools/tiff2pdf.c @@ -25,6 +25,7 @@ */ #include "tif_config.h" +#include "libport.h" #include <stdio.h> #include <stdlib.h> @@ -46,17 +47,9 @@ # include <io.h> #endif -#ifdef NEED_LIBPORT -# include "libport.h" -#endif - #include "tiffiop.h" #include "tiffio.h" -#ifndef HAVE_GETOPT -extern int getopt(int argc, char * const argv[], const char *optstring); -#endif - #ifndef EXIT_SUCCESS # define EXIT_SUCCESS 0 #endif |