diff --git a/compat/getprogname.c b/compat/getprogname.c index 80a496da..50afbace 100644 --- a/compat/getprogname.c +++ b/compat/getprogname.c @@ -16,14 +16,14 @@ #include +#include + #include "compat.h" #if defined(HAVE_PROGRAM_INVOCATION_SHORT_NAME) const char * getprogname(void) { - extern char *program_invocation_short_name; - return (program_invocation_short_name); } #elif defined(HAVE___PROGNAME)