THRIFT-426. cpp: Fix include path under test/cpp
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@761763 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/test/cpp/Thrift-test.mk b/test/cpp/Thrift-test.mk
index 463b9c7..fb3e38b 100644
--- a/test/cpp/Thrift-test.mk
+++ b/test/cpp/Thrift-test.mk
@@ -46,9 +46,9 @@
LD = g++
# Compiler flags
-DCFL = -Wall -O3 -g -I./gen-cpp $(include_flags) -L$(thrift_home)/lib/cpp/.libs -lthrift -lthriftnb -levent
+DCFL = -Wall -O3 -g -I. -I./gen-cpp $(include_flags) -L$(thrift_home)/lib/cpp/.libs -lthrift -lthriftnb -levent
LFL = -L$(thrift_home)/lib/cpp/.libs -lthrift -lthriftnb -levent
-CCFL = -Wall -O3 -I./gen-cpp $(include_flags)
+CCFL = -Wall -O3 -I. -I./gen-cpp $(include_flags)
CFL = $(CCFL) $(LFL)
all: server client