summaryrefslogtreecommitdiffstats
path: root/usr.bin/xlint
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-06-21 09:23:12 +0000
committerphk <phk@FreeBSD.org>2002-06-21 09:23:12 +0000
commit730980f3612c9a8234ecea7a88e70f7192f05c23 (patch)
tree5702c7b73a68348e614164c16402f88e5c2d4ef4 /usr.bin/xlint
parent25fe20626e02a5453fe5e50217229a3f9d2925b4 (diff)
downloadFreeBSD-src-730980f3612c9a8234ecea7a88e70f7192f05c23.zip
FreeBSD-src-730980f3612c9a8234ecea7a88e70f7192f05c23.tar.gz
#include <sys/time.h> before <sys/stat.h> to get timespec.
Diffstat (limited to 'usr.bin/xlint')
-rw-r--r--usr.bin/xlint/llib/llib-lposix1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/xlint/llib/llib-lposix b/usr.bin/xlint/llib/llib-lposix
index dffad25..b3f9ca9 100644
--- a/usr.bin/xlint/llib/llib-lposix
+++ b/usr.bin/xlint/llib/llib-lposix
@@ -37,6 +37,7 @@
#define _POSIX_SOURCE
#include <sys/types.h>
+#include <sys/time.h>
#include <sys/stat.h>
#include <sys/utsname.h>
#include <sys/times.h>
OpenPOWER on IntegriCloud