diff options
Diffstat (limited to 'misc/kcd/files/patch-dirtree.cc')
-rw-r--r-- | misc/kcd/files/patch-dirtree.cc | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/misc/kcd/files/patch-dirtree.cc b/misc/kcd/files/patch-dirtree.cc index 740126bc9bb5..48fe15fc68ca 100644 --- a/misc/kcd/files/patch-dirtree.cc +++ b/misc/kcd/files/patch-dirtree.cc @@ -1,6 +1,17 @@ --- dirtree.cc.orig 2009-02-18 13:01:05.000000000 +0100 +++ dirtree.cc 2013-05-27 18:11:32.183060000 +0200 -@@ -170,12 +170,12 @@ +@@ -25,6 +25,10 @@ + #include "cstrlib.h" + #include "gentree.h" + ++#ifdef HAVE_UNISTD_H ++# include <unistd.h> ++#endif ++ + sptr_list<DirectoryEntry> dirTree; + + const char uniqueTag[] = "<KCDID#9>"; // File ID +@@ -170,12 +174,12 @@ ReadSaveFile(dirTree, filegz); } catch(ErrorBadFileFormat &) { |