summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>