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>
This commit is contained in:
parent
53e8c16e14
commit
5ec85227ad
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue