summaryrefslogtreecommitdiffstats
path: root/sysdep/unix
diff options
context:
space:
mode:
Diffstat (limited to 'sysdep/unix')
-rw-r--r--sysdep/unix/io.c1
-rw-r--r--sysdep/unix/log.c2
-rw-r--r--sysdep/unix/timer.h2
3 files changed, 3 insertions, 2 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c
index 7f37c08..cec1c20 100644
--- a/sysdep/unix/io.c
+++ b/sysdep/unix/io.c
@@ -8,6 +8,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <time.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/socket.h>
diff --git a/sysdep/unix/log.c b/sysdep/unix/log.c
index 15f6815..6b7c38c 100644
--- a/sysdep/unix/log.c
+++ b/sysdep/unix/log.c
@@ -18,7 +18,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
-#include <sys/time.h>
+#include <time.h>
#include "nest/bird.h"
#include "nest/cli.h"
diff --git a/sysdep/unix/timer.h b/sysdep/unix/timer.h
index b33622a..5d22bb9 100644
--- a/sysdep/unix/timer.h
+++ b/sysdep/unix/timer.h
@@ -9,7 +9,7 @@
#ifndef _BIRD_TIMER_H_
#define _BIRD_TIMER_H_
-#include <sys/time.h>
+#include <time.h>
#include "lib/resource.h"