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