1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/misc/kcd/files/patch-gentree.cc
Antoine Brodin c2533ffdba - Fix build with clang
- Stage support

PR:		ports/185692
Submitted by:	KATO Tsuguru
2014-01-14 20:23:34 +00:00

14 lines
215 B
C++

--- 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>