- Fix build with clang

PR:		ports/183279
Submitted by:	Craig Leres <leres@ee.lbl.gov> (maintainer)
This commit is contained in:
Thomas Abthorpe 2013-10-25 15:02:57 +00:00
parent 0f46014d4f
commit b29113ab0d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331593

View File

@ -0,0 +1,10 @@
--- src/logging/Manager.cc.orig 2013-10-24 11:44:30.000000000 -0700
+++ src/logging/Manager.cc 2013-10-24 11:45:09.000000000 -0700
@@ -1,6 +1,7 @@
// See the file "COPYING" in the main distribution directory for copyright.
#include <algorithm>
+#include <unistd.h> /* pick up usleep() prototype */
#include "../Event.h"
#include "../EventHandler.h"