summaryrefslogtreecommitdiffstats
path: root/usr.bin/truss/main.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-08-04 10:57:41 +0000
committerbde <bde@FreeBSD.org>2002-08-04 10:57:41 +0000
commit4418f4740b3eb573befd624c4fd83b235a2ff95e (patch)
tree71dd7c1485e5cb92d4b307d14126890d3f4a716b /usr.bin/truss/main.c
parent02517b6731ab2da44ce9b49260429744cf0114d5 (diff)
downloadFreeBSD-src-4418f4740b3eb573befd624c4fd83b235a2ff95e.zip
FreeBSD-src-4418f4740b3eb573befd624c4fd83b235a2ff95e.tar.gz
Include <sys/time.h> for the declaration of struct timeval. Do not
depend on namespace pollution in <signal.h>. (truss shouldn't be using timevals anyway, since it was implemented long after timevals were obsoleted by timespecs.)
Diffstat (limited to 'usr.bin/truss/main.c')
-rw-r--r--usr.bin/truss/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/truss/main.c b/usr.bin/truss/main.c
index e100c16..86a007c 100644
--- a/usr.bin/truss/main.c
+++ b/usr.bin/truss/main.c
@@ -43,6 +43,7 @@ static const char rcsid[] =
#include <sys/param.h>
#include <sys/ioctl.h>
#include <sys/pioctl.h>
+#include <sys/time.h>
#include <err.h>
#include <errno.h>
OpenPOWER on IntegriCloud