diff --git a/proxygen/httpserver/tests/HTTPServerTest.cpp b/proxygen/httpserver/tests/HTTPServerTest.cpp index 4b5e355056..df5dd43d51 100644 --- a/proxygen/httpserver/tests/HTTPServerTest.cpp +++ b/proxygen/httpserver/tests/HTTPServerTest.cpp @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include @@ -36,7 +37,7 @@ using namespace CurlService; namespace { -const std::string kTestDir = getContainingDirectory(__FILE__).str(); +const std::string kTestDir = getContainingDirectory(XLOG_FILENAME).str(); }