summaryrefslogtreecommitdiffstats
path: root/usr.sbin/watch
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-02-25 05:31:49 +0000
committerbde <bde@FreeBSD.org>2002-02-25 05:31:49 +0000
commit0f2a01ed72bd544a06809bf97d2af8985162ffb0 (patch)
tree1d53ac2fa2cf4e3eccaeedb93c20a2ad7d3b971a /usr.sbin/watch
parent94ad2d69448e78be8253f327b95a3b66dad21320 (diff)
downloadFreeBSD-src-0f2a01ed72bd544a06809bf97d2af8985162ffb0.zip
FreeBSD-src-0f2a01ed72bd544a06809bf97d2af8985162ffb0.tar.gz
#include <time.h> for the definition of time functions instead of
depending on namespace pollution 2 layers deep in <sys/stat.h>.
Diffstat (limited to 'usr.sbin/watch')
-rw-r--r--usr.sbin/watch/watch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/watch/watch.c b/usr.sbin/watch/watch.c
index d594ee0..6553540 100644
--- a/usr.sbin/watch/watch.c
+++ b/usr.sbin/watch/watch.c
@@ -36,6 +36,7 @@ static const char rcsid[] =
#include <sysexits.h>
#include <termcap.h>
#include <termios.h>
+#include <time.h>
#include <unistd.h>
#define MSG_INIT "Snoop started."
OpenPOWER on IntegriCloud