diff options
author | Martin Mares <mj@ucw.cz> | 2001-03-06 14:40:39 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2001-03-06 14:40:39 +0100 |
commit | 01b776e117d21ccfef996fd91c014c6e14a458a7 (patch) | |
tree | 0813e9b818fffb2e622b5a1f6ac2f92e60a6fdcb | |
parent | 27e993fb4ecc310a83da3a74b21b15c32c207a09 (diff) | |
download | bird-01b776e117d21ccfef996fd91c014c6e14a458a7.tar bird-01b776e117d21ccfef996fd91c014c6e14a458a7.zip |
Fixed <time.h> vs. <sys/time.h> problems.
-rw-r--r-- | client/client.c | 1 | ||||
-rw-r--r-- | sysdep/unix/io.c | 1 | ||||
-rw-r--r-- | sysdep/unix/log.c | 2 | ||||
-rw-r--r-- | sysdep/unix/timer.h | 2 |
4 files changed, 3 insertions, 3 deletions
diff --git a/client/client.c b/client/client.c index c579352..f3b5d69 100644 --- a/client/client.c +++ b/client/client.c @@ -13,7 +13,6 @@ #include <errno.h> #include <sys/socket.h> #include <sys/un.h> -#include <sys/time.h> #include <sys/types.h> #include <readline/readline.h> #include <readline/history.h> 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" |