diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-01-14 20:23:34 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-01-14 20:23:34 +0000 |
commit | c2533ffdba8451e75942b77ff93592aa8e3fa50f (patch) | |
tree | 35c41dbe30386faae89039096566e47a5c07aa04 /misc/kcd/files/patch-gentree.cc | |
parent | - Fix build with clang (diff) |
- Fix build with clang
- Stage support
PR: ports/185692
Submitted by: KATO Tsuguru
Notes
Notes:
svn path=/head/; revision=339712
Diffstat (limited to 'misc/kcd/files/patch-gentree.cc')
-rw-r--r-- | misc/kcd/files/patch-gentree.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/kcd/files/patch-gentree.cc b/misc/kcd/files/patch-gentree.cc new file mode 100644 index 000000000000..6bc4ad877ddc --- /dev/null +++ b/misc/kcd/files/patch-gentree.cc @@ -0,0 +1,13 @@ +--- gentree.cc.orig ++++ gentree.cc +@@ -29,6 +29,10 @@ + #include "cstrlib.h" + #include "scandir.h" + ++#ifdef HAVE_UNISTD_H ++# include <unistd.h> ++#endif ++ + //#define DUMP_HTML + #ifdef DUMP_HTML + # include <fcntl.h> |