summaryrefslogtreecommitdiffstats
path: root/src/uscxml/URL.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/URL.cpp')
-rw-r--r--src/uscxml/URL.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/uscxml/URL.cpp b/src/uscxml/URL.cpp
index 4461308..592c0c6 100644
--- a/src/uscxml/URL.cpp
+++ b/src/uscxml/URL.cpp
@@ -17,8 +17,12 @@
#include "uscxml/Common.h"
#include "URL.h"
+#include "uscxml/config.h"
+
#include <cstdlib> // mkstemp
+#ifdef HAS_UNISTD_H
#include <unistd.h> // mkstemp legacy
+#endif
namespace uscxml {