summaryrefslogtreecommitdiff
path: root/tests/test_document.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_document.cpp')
-rw-r--r--tests/test_document.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_document.cpp b/tests/test_document.cpp
index 45b8536..2b4c4be 100644
--- a/tests/test_document.cpp
+++ b/tests/test_document.cpp
@@ -5,7 +5,7 @@
#include <string.h> // because Borland's STL is braindead, we have to include <string.h> _before_ <string> in order to get memcpy
-#include "common.hpp"
+#include "test.hpp"
#include "writer_string.hpp"
@@ -26,6 +26,8 @@
# include <unistd.h> // for unlink
#endif
+using namespace pugi;
+
static bool load_file_in_memory(const char* path, char*& data, size_t& size)
{
FILE* file = fopen(path, "rb");