diff --git a/tests/http/clients/Makefile.am b/tests/http/clients/Makefile.am index 386da5a22a..8fdc190b94 100644 --- a/tests/http/clients/Makefile.am +++ b/tests/http/clients/Makefile.am @@ -33,6 +33,8 @@ AUTOMAKE_OPTIONS = foreign nostdinc # $(top_srcdir)/include is for libcurl's external include files AM_CPPFLAGS = -I$(top_srcdir)/include \ + -I$(top_builddir)/lib \ + -I$(top_srcdir)/lib \ -DCURL_DISABLE_DEPRECATION LIBDIR = $(top_builddir)/lib diff --git a/tests/http/clients/ws-data.c b/tests/http/clients/ws-data.c index 1c61d59f72..93bea4ee75 100644 --- a/tests/http/clients/ws-data.c +++ b/tests/http/clients/ws-data.c @@ -36,7 +36,7 @@ /* curl stuff */ #include -#include "../../../lib/curl_setup.h" +#include "curl_setup.h" #ifdef USE_WEBSOCKETS diff --git a/tests/http/clients/ws-pingpong.c b/tests/http/clients/ws-pingpong.c index 4307dea73f..d8cab976e8 100644 --- a/tests/http/clients/ws-pingpong.c +++ b/tests/http/clients/ws-pingpong.c @@ -36,7 +36,7 @@ /* curl stuff */ #include -#include "../../../lib/curl_setup.h" +#include "curl_setup.h" #ifdef USE_WEBSOCKETS