aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-05-27 23:34:37 +0000
committerMax Horn2003-05-27 23:34:37 +0000
commit27f2f5801074742335fd2e94bb5f40bd137c5d88 (patch)
treea4314c32ff77d4215cb503a81fcc6857140dd92e
parent29a25f66f219a50d97c24fc7e1bcabdc4b8b0263 (diff)
downloadscummvm-rg350-27f2f5801074742335fd2e94bb5f40bd137c5d88.tar.gz
scummvm-rg350-27f2f5801074742335fd2e94bb5f40bd137c5d88.tar.bz2
scummvm-rg350-27f2f5801074742335fd2e94bb5f40bd137c5d88.zip
put in explicit unistd.h for getcwd (this helps BeOS)
svn-id: r8040
-rw-r--r--gui/options.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/options.cpp b/gui/options.cpp
index 0c30ab49a4..4e69230184 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -29,6 +29,10 @@
#include "common/config-file.h"
#include "common/gameDetector.h"
+#if !( defined(__DC__) || defined(__GP32__) )
+#include <unistd.h>
+#endif
+
/*
_____ _ _ _ _ _
|_ _| |__ (_)___ (_)___ __ _ __| |_ _ _ __ ___ _ __ ___ _ _| |