diff options
author | Andreas Henriksson | 2014-09-19 01:36:37 +0200 |
---|---|---|
committer | Karel Zak | 2014-09-22 12:54:11 +0200 |
commit | 5ec85227ad3a8e9a8a0ddb1de8bdda30d2abea2f (patch) | |
tree | e75713290b55ddf6cdcdbc57a73f4430e2be1abb /misc-utils/logger.c | |
parent | build-sys: build libmount everywhere (diff) | |
download | kernel-qcow2-util-linux-5ec85227ad3a8e9a8a0ddb1de8bdda30d2abea2f.tar.gz kernel-qcow2-util-linux-5ec85227ad3a8e9a8a0ddb1de8bdda30d2abea2f.tar.xz kernel-qcow2-util-linux-5ec85227ad3a8e9a8a0ddb1de8bdda30d2abea2f.zip |
logger: gettimeofday needs <sys/time.h>
Either works on linux, but kfreebsd build fails
if we don't use the <sys/time.h> include.
According to man gettimeofday the correct include is <sys/time.h>
Signed-off-by: Andreas Henriksson <andreas@fatal.se>
Diffstat (limited to 'misc-utils/logger.c')
-rw-r--r-- | misc-utils/logger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc-utils/logger.c b/misc-utils/logger.c index 99a5569b3..2994dc0e3 100644 --- a/misc-utils/logger.c +++ b/misc-utils/logger.c @@ -40,7 +40,7 @@ #include <limits.h> #include <unistd.h> #include <stdlib.h> -#include <time.h> +#include <sys/time.h> #include <stdio.h> #include <ctype.h> #include <string.h> |