From 725279bd1f8b74f4b22466097b4fa3441b1e8212 Mon Sep 17 00:00:00 2001 From: Kurt Schwehr Date: Wed, 24 Oct 2018 16:29:33 -0700 Subject: [PATCH] Add includes to headers to allow them to stand alone. This allows compilers that can do header stand alone header parsing to process libtiff. --- libtiff/tif_dir.h | 4 ++++ libtiff/tif_predict.h | 4 ++++ libtiff/tiffio.hxx | 1 + 3 files changed, 9 insertions(+) diff --git a/libtiff/tif_dir.h b/libtiff/tif_dir.h index bb508add..b2f5e694 100644 --- a/libtiff/tif_dir.h +++ b/libtiff/tif_dir.h @@ -24,6 +24,10 @@ #ifndef _TIFFDIR_ #define _TIFFDIR_ + +#include "tiff.h" +#include "tiffio.h" + /* * ``Library-private'' Directory-related Definitions. */ diff --git a/libtiff/tif_predict.h b/libtiff/tif_predict.h index ee64d80c..93fbdf99 100644 --- a/libtiff/tif_predict.h +++ b/libtiff/tif_predict.h @@ -24,6 +24,10 @@ #ifndef _TIFFPREDICT_ #define _TIFFPREDICT_ + +#include "tiff.h" +#include "tiffio.h" + /* * ``Library-private'' Support for the Predictor Tag */ diff --git a/libtiff/tiffio.hxx b/libtiff/tiffio.hxx index 6cd72730..df2cbbce 100644 --- a/libtiff/tiffio.hxx +++ b/libtiff/tiffio.hxx @@ -31,6 +31,7 @@ #include #include "tiff.h" +#include "tiffio.h" extern TIFF* TIFFStreamOpen(const char*, std::ostream *); extern TIFF* TIFFStreamOpen(const char*, std::istream *);