diff options
author | bde <bde@FreeBSD.org> | 2002-02-25 05:31:49 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2002-02-25 05:31:49 +0000 |
commit | 0f2a01ed72bd544a06809bf97d2af8985162ffb0 (patch) | |
tree | 1d53ac2fa2cf4e3eccaeedb93c20a2ad7d3b971a /usr.sbin/watch | |
parent | 94ad2d69448e78be8253f327b95a3b66dad21320 (diff) | |
download | FreeBSD-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.c | 1 |
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." |