summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2011-01-13 12:21:34 +1100
committerDamien Miller <djm@mindrot.org>2011-01-13 12:21:34 +1100
commit1708cb7d0d318f2ef6d48ef763125162f99a3b8c (patch)
treeb016ed5ca9ca6a9194ebcb50c20eec82b960b62f
parent134d02a494f435458a1147dea9ed719f1274078c (diff)
- (djm) [misc.c] include time.h for nanosleep() prototype
-rw-r--r--ChangeLog3
-rw-r--r--misc.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f928331c..986c2ae2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+20110213
+ - (djm) [misc.c] include time.h for nanosleep() prototype
+
20110212
- OpenBSD CVS Sync
- nicm@cvs.openbsd.org 2010/10/08 21:48:42
diff --git a/misc.c b/misc.c
index 1c57ce0a..919b04e6 100644
--- a/misc.c
+++ b/misc.c
@@ -35,6 +35,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include <netinet/in.h>