]> granicus.if.org Git - procps-ng/commitdiff
watch: include strutils.h
authorSami Kerola <kerolasa@iki.fi>
Wed, 4 Jan 2012 18:23:19 +0000 (19:23 +0100)
committerCraig Small <csmall@enc.com.au>
Wed, 4 Jan 2012 22:58:19 +0000 (09:58 +1100)
Without the header strtod_or_err() returned random value.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
watch.c

diff --git a/watch.c b/watch.c
index 747c48047be8d647bac4528f1e39614e389eef6b..a6ad22e7d57279833ead25e9b63e5981b0ac16d0 100644 (file)
--- a/watch.c
+++ b/watch.c
@@ -17,6 +17,7 @@
 #include "config.h"
 #include "nls.h"
 #include "proc/procps.h"
+#include "strutils.h"
 #include "xalloc.h"
 #include <ctype.h>
 #include <errno.h>