diff options
Diffstat (limited to 'support/gnomesupport-fake.h')
-rw-r--r-- | support/gnomesupport-fake.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/support/gnomesupport-fake.h b/support/gnomesupport-fake.h index a6423d09..3431ce92 100644 --- a/support/gnomesupport-fake.h +++ b/support/gnomesupport-fake.h @@ -11,7 +11,10 @@ #include <gnomesupport.h> -#include <gnome-argp.h> +/* Some systems, like Red Hat 4.0, define these but don't declare + them. Hopefully it is safe to always declare them here. */ +extern char *program_invocation_short_name; +extern char *program_invocation_name; /* Override some of config.h. Gnomesupport provides the replacements for these, so you actually @@ -25,4 +28,8 @@ # define HAVE_PROGRAM_INVOCATION_NAME 1 #endif +#ifndef HAVE_PROGRAM_INVOCATION_SHORT_NAME +# define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 +#endif + #endif /* GNOMESUPPORT_FAKE_H_ */ |