Merged revisions 117086 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Mon, 19 May 2008 16:07:09 +0000 (16:07 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Mon, 19 May 2008 16:07:09 +0000 (16:07 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r117086 | tilghman | 2008-05-19 11:05:05 -0500 (Mon, 19 May 2008) | 2 lines

The addition of usleep(2) within ast_assert requires the inclusion of the unistd.h header

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@117088 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/utils.h

index 4989b6d..59a4360 100644 (file)
@@ -26,6 +26,7 @@
 #include "asterisk/network.h"
 
 #include <time.h>      /* we want to override localtime_r */
+#include <unistd.h>
 
 #include "asterisk/lock.h"
 #include "asterisk/time.h"