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 | |
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')
-rw-r--r-- | usr.bin/truss/alpha-fbsd.c | 1 | ||||
-rw-r--r-- | usr.bin/truss/amd64-fbsd32.c | 1 | ||||
-rw-r--r-- | usr.bin/truss/amd64-linux32.c | 1 | ||||
-rw-r--r-- | usr.bin/truss/i386-fbsd.c | 1 | ||||
-rw-r--r-- | usr.bin/truss/i386-linux.c | 1 | ||||
-rw-r--r-- | usr.bin/truss/main.c | 1 | ||||
-rw-r--r-- | usr.bin/truss/setup.c | 1 |
7 files changed, 7 insertions, 0 deletions
diff --git a/usr.bin/truss/alpha-fbsd.c b/usr.bin/truss/alpha-fbsd.c index 90b1515..dbd8621 100644 --- a/usr.bin/truss/alpha-fbsd.c +++ b/usr.bin/truss/alpha-fbsd.c @@ -48,6 +48,7 @@ static const char rcsid[] = #include <sys/ioctl.h> #include <sys/pioctl.h> #include <sys/syscall.h> +#include <sys/time.h> #include <machine/reg.h> diff --git a/usr.bin/truss/amd64-fbsd32.c b/usr.bin/truss/amd64-fbsd32.c index c202016..f6ae214 100644 --- a/usr.bin/truss/amd64-fbsd32.c +++ b/usr.bin/truss/amd64-fbsd32.c @@ -46,6 +46,7 @@ static const char rcsid[] = #include <sys/ioctl.h> #include <sys/pioctl.h> #include <sys/syscall.h> +#include <sys/time.h> #include <machine/reg.h> #include <machine/psl.h> diff --git a/usr.bin/truss/amd64-linux32.c b/usr.bin/truss/amd64-linux32.c index 6745b18..61c6877 100644 --- a/usr.bin/truss/amd64-linux32.c +++ b/usr.bin/truss/amd64-linux32.c @@ -43,6 +43,7 @@ static const char rcsid[] = #include <sys/types.h> #include <sys/ioctl.h> #include <sys/pioctl.h> +#include <sys/time.h> #include <machine/reg.h> #include <machine/psl.h> diff --git a/usr.bin/truss/i386-fbsd.c b/usr.bin/truss/i386-fbsd.c index c202016..f6ae214 100644 --- a/usr.bin/truss/i386-fbsd.c +++ b/usr.bin/truss/i386-fbsd.c @@ -46,6 +46,7 @@ static const char rcsid[] = #include <sys/ioctl.h> #include <sys/pioctl.h> #include <sys/syscall.h> +#include <sys/time.h> #include <machine/reg.h> #include <machine/psl.h> diff --git a/usr.bin/truss/i386-linux.c b/usr.bin/truss/i386-linux.c index 6745b18..61c6877 100644 --- a/usr.bin/truss/i386-linux.c +++ b/usr.bin/truss/i386-linux.c @@ -43,6 +43,7 @@ static const char rcsid[] = #include <sys/types.h> #include <sys/ioctl.h> #include <sys/pioctl.h> +#include <sys/time.h> #include <machine/reg.h> #include <machine/psl.h> 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> diff --git a/usr.bin/truss/setup.c b/usr.bin/truss/setup.c index e3d52a4..e64e386 100644 --- a/usr.bin/truss/setup.c +++ b/usr.bin/truss/setup.c @@ -42,6 +42,7 @@ static const char rcsid[] = #include <sys/param.h> #include <sys/ioctl.h> #include <sys/pioctl.h> +#include <sys/time.h> #include <sys/wait.h> #include <err.h> |