diff options
author | bde <bde@FreeBSD.org> | 2002-08-04 10:57:41 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2002-08-04 10:57:41 +0000 |
commit | 4418f4740b3eb573befd624c4fd83b235a2ff95e (patch) | |
tree | 71dd7c1485e5cb92d4b307d14126890d3f4a716b /usr.bin/truss/main.c | |
parent | 02517b6731ab2da44ce9b49260429744cf0114d5 (diff) | |
download | FreeBSD-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.c | 1 |
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> |