aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/watch
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2002-02-25 05:31:49 +0000
committerBruce Evans <bde@FreeBSD.org>2002-02-25 05:31:49 +0000
commit4c995cc66e30982a841f9fe8a2527ff83e0e4f6a (patch)
tree1d53ac2fa2cf4e3eccaeedb93c20a2ad7d3b971a /usr.sbin/watch
parent46784d26e2d88b383e9619c83f15220bea70522f (diff)
downloadsrc-4c995cc66e30982a841f9fe8a2527ff83e0e4f6a.tar.gz
src-4c995cc66e30982a841f9fe8a2527ff83e0e4f6a.zip
#include <time.h> for the definition of time functions instead of
depending on namespace pollution 2 layers deep in <sys/stat.h>.
Notes
Notes: svn path=/head/; revision=91229
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 d594ee0c7e69..65535407b538 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."