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, 4 insertions, 0 deletions
diff --git a/tests/test_document.cpp b/tests/test_document.cpp
index 6dbc0fe..bed9498 100644
--- a/tests/test_document.cpp
+++ b/tests/test_document.cpp
@@ -15,6 +15,10 @@
#include <string>
+#ifdef __MINGW32__
+# include <io.h> // for unlink in C++0x mode
+#endif
+
TEST(document_create_empty)
{
pugi::xml_document doc;