diff --git a/test/Makefile b/test/Makefile
index 8a1b572..1de08b9 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,15 +1,15 @@
-CC = clang++
-#CC = g++
+#CC = clang++
+CC = g++
CFLAGS = -ggdb -O0 -std=c++11 -DGTEST_USE_OWN_TR1_TUPLE -I.. -I. -Wall -Wextra -Wtype-limits
-OPENSSL_SUPPORT = -DCPPHTTPLIB_OPENSSL_SUPPORT -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib -lssl -lcrypto
+OPENSSL_SUPPORT = -DCPPHTTPLIB_OPENSSL_SUPPORT -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib -lssl -lcrypto -I../include
ZLIB_SUPPORT = -DCPPHTTPLIB_ZLIB_SUPPORT -lz
all : test
./test
-test : test.cc ../httplib.h Makefile cert.pem
+test : test.cc ../include/httplib.h Makefile cert.pem
$(CC) -o test $(CFLAGS) test.cc gtest/gtest-all.cc gtest/gtest_main.cc $(OPENSSL_SUPPORT) $(ZLIB_SUPPORT) -lpthread
cert.pem:
diff --git a/test/test.vcxproj b/test/test.vcxproj
index 3f15c7c..c03d586 100644
--- a/test/test.vcxproj
+++ b/test/test.vcxproj
@@ -86,7 +86,7 @@
Level3
Disabled
WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)
- ./;../
+ ./;../include
Console
@@ -101,7 +101,7 @@
Level3
Disabled
WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)
- ./;../
+ ./;../include
Console
@@ -118,7 +118,7 @@
true
true
WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)
- ./;../
+ ./;../include
Console
@@ -137,7 +137,7 @@
true
true
WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)
- ./;../
+ ./;../include
Console