]> git.ipfire.org Git - thirdparty/util-linux.git/commit
logger: gettimeofday needs <sys/time.h>
authorAndreas Henriksson <andreas@fatal.se>
Thu, 18 Sep 2014 23:36:37 +0000 (01:36 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 22 Sep 2014 10:54:11 +0000 (12:54 +0200)
commit5ec85227ad3a8e9a8a0ddb1de8bdda30d2abea2f
treee75713290b55ddf6cdcdbc57a73f4430e2be1abb
parent53e8c16e14ae4b929b4007c071fda3e40963937c
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>
misc-utils/logger.c