summaryrefslogtreecommitdiff
path: root/examples/second.c
diff options
context:
space:
mode:
authorBenoît Dejean <bdejean@src.gnome.org>2004-05-28 05:30:20 +0000
committerBenoît Dejean <bdejean@src.gnome.org>2004-05-28 05:30:20 +0000
commit75291a665c0cb27456b02bf463d35ba0448448cc (patch)
treec2bfaccbc2ef3242997f1d5d938d2c12c1509583 /examples/second.c
parent5af13a2a6a1a42a2e634b58a16eba517e74096fc (diff)
downloadlibgtop-75291a665c0cb27456b02bf463d35ba0448448cc.tar.gz
Added missing #include. Converted to UTF-8.
* examples/*: Added missing #include. * ChangeLog: Converted to UTF-8.
Diffstat (limited to 'examples/second.c')
-rw-r--r--examples/second.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/second.c b/examples/second.c
index c612be30..d87101f6 100644
--- a/examples/second.c
+++ b/examples/second.c
@@ -23,6 +23,8 @@
#include <locale.h>
#include <math.h>
+#include <stdio.h>
+#include <libintl.h>
#include <glibtop.h>
#include <glibtop/open.h>
@@ -44,7 +46,7 @@ output (pid_t pid)
double b_total, b_utime, b_stime;
double s_total, s_utime, s_stime;
double my_utime, my_stime;
- int ncpu;
+ unsigned int ncpu;
#endif
printf ("\n");