freebsd-ports/misc/kcd/files/patch-scandir.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

13 lines
348 B
C++

--- scandir.cc.orig
+++ scandir.cc
@@ -32,6 +32,10 @@
#include "cstrlib.h"
#include "dirtree.h"
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
/*************************************************************************
Log scan results to command line output
*************************************************************************/