From 0f465e7851211a46de9107c062e50c67a78d5f82 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Thu, 15 Dec 2005 20:22:01 +0000 Subject: [PATCH] rid warnings --- src/sigar_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sigar_main.c b/src/sigar_main.c index d6d6ef20..f31fe793 100644 --- a/src/sigar_main.c +++ b/src/sigar_main.c @@ -1,5 +1,7 @@ #include #include +#include +#include #include #include #include @@ -71,7 +73,6 @@ static int sigar_main(char *argv0) void *handle; sigar_callback_t *callbacks = (sigar_callback_t *)&sigar_callbacks; - int i; strcpy(sigarlib, argv0); ptr = rindex(sigarlib, '/');