From f34cbf9b451a96b37451a1975428014b303ac09a Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 27 Aug 2014 23:36:57 +0900 Subject: [PATCH] tests: Include config.h --- src/shrpx-unittest.cc | 4 ++++ tests/main.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/shrpx-unittest.cc b/src/shrpx-unittest.cc index 3e757bd5..d814296e 100644 --- a/src/shrpx-unittest.cc +++ b/src/shrpx-unittest.cc @@ -22,6 +22,10 @@ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +#ifdef HAVE_CONFIG_H +# include +#endif /* HAVE_CONFIG_H */ + #include #include #include diff --git a/tests/main.c b/tests/main.c index 02a8895f..4338ec04 100644 --- a/tests/main.c +++ b/tests/main.c @@ -22,6 +22,10 @@ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +#ifdef HAVE_CONFIG_H +# include +#endif /* HAVE_CONFIG_H */ + #include #include #include