diff options
author | Bastien Nocera <hadess@src.gnome.org> | 2003-10-20 15:20:16 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@src.gnome.org> | 2003-10-20 15:20:16 +0000 |
commit | b67e4c7f7d1a78e3e21b46955097eb33718bf461 (patch) | |
tree | 005dc92d623f76ab2c244e152770cd6db1b0a38d /src/daemon/gnuserv.c | |
parent | ba36a20cb81c8b3561b99a2412a9fd71b7cd8c12 (diff) | |
download | libgtop-b67e4c7f7d1a78e3e21b46955097eb33718bf461.tar.gz |
- fixed compilation
Diffstat (limited to 'src/daemon/gnuserv.c')
-rw-r--r-- | src/daemon/gnuserv.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/daemon/gnuserv.c b/src/daemon/gnuserv.c index d9db4c5d..ada70048 100644 --- a/src/daemon/gnuserv.c +++ b/src/daemon/gnuserv.c @@ -29,11 +29,14 @@ * ../etc/gnuserv.README relative to the directory containing this file) */ +#include <config.h> + +#include <libgnome/gnome-i18n.h> #include <glibtop.h> #include <glibtop/open.h> #include <glibtop/close.h> #include <glibtop/command.h> -#include <glibtop/xmalloc.h> + #include <glibtop/parameter.h> @@ -461,7 +464,7 @@ const struct poptOption popt_options [] = { }; int -main (int argc, char *argv []) +main (int argc, const char **argv) { const unsigned method = GLIBTOP_METHOD_PIPE; const unsigned long features = GLIBTOP_SYSDEPS_ALL; @@ -475,7 +478,7 @@ main (int argc, char *argv []) if (!program_invocation_name) { char *arg; - program_invocation_name = argv[0]; + program_invocation_name = (char *) argv[0]; arg = strrchr (argv[0], '/'); program_invocation_short_name = arg ? (arg + 1) : program_invocation_name; |