summaryrefslogtreecommitdiffstats
path: root/src/uscxml/util
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2016-12-09 16:54:18 (GMT)
committerStefan Radomski <github@mintwerk.de>2016-12-09 16:54:18 (GMT)
commitf0440ad64e66859f51f1c9156836b9daea017fb7 (patch)
treea90645accd50ad537da1a6da444f9a91d3cdcc22 /src/uscxml/util
parent1e56658c2415d154428fe419d8f0134c59856b6e (diff)
downloaduscxml-f0440ad64e66859f51f1c9156836b9daea017fb7.zip
uscxml-f0440ad64e66859f51f1c9156836b9daea017fb7.tar.gz
uscxml-f0440ad64e66859f51f1c9156836b9daea017fb7.tar.bz2
Fixed unresolved getcwd with MSVC
Diffstat (limited to 'src/uscxml/util')
-rw-r--r--src/uscxml/util/URL.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/uscxml/util/URL.cpp b/src/uscxml/util/URL.cpp
index 3ba4595..7978793 100644
--- a/src/uscxml/util/URL.cpp
+++ b/src/uscxml/util/URL.cpp
@@ -28,6 +28,8 @@
#ifdef _WIN32
+#include <direct.h>
+
#define getcwd _getcwd
#else
#include <unistd.h> // getcwd