summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-10-06 21:46:04 +0000
committermike <mike@FreeBSD.org>2002-10-06 21:46:04 +0000
commitd72c913927280fefd53d613492c3336ef353da16 (patch)
tree7851be96e72c64bbb8e19c9385f109e163729e17 /usr.bin
parentc654638cb1e57d77428526bfe889d74b7d93df81 (diff)
downloadFreeBSD-src-d72c913927280fefd53d613492c3336ef353da16.zip
FreeBSD-src-d72c913927280fefd53d613492c3336ef353da16.tar.gz
Don't depend on <signal.h> to include <sys/time.h>, instead include
<sys/time.h> directly. This is mostly bogus since CLOCK_REALTIME should be defined in <time.h>, which these files already include.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/truss/main.c1
-rw-r--r--usr.bin/truss/syscalls.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/truss/main.c b/usr.bin/truss/main.c
index 28d6ec8..c853675 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/syscalls.c b/usr.bin/truss/syscalls.c
index 82c0324..fbe86fb 100644
--- a/usr.bin/truss/syscalls.c
+++ b/usr.bin/truss/syscalls.c
@@ -41,6 +41,7 @@ static const char rcsid[] =
#include <sys/types.h>
#include <sys/socket.h>
+#include <sys/time.h>
#include <sys/un.h>
#include <netinet/in.h>
#include <arpa/inet.h>
OpenPOWER on IntegriCloud