You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
402 B

  1. --- a/common/compat.c
  2. +++ b/common/compat.c
  3. @@ -97,8 +97,12 @@
  4. #include <unistd.h>
  5. #if defined (HAVE_PROGRAM_INVOCATION_SHORT_NAME) && !HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
  6. +#ifdef __UCLIBC__
  7. +extern const char *program_invocation_short_name;
  8. +#else
  9. extern char *program_invocation_short_name;
  10. #endif
  11. +#endif
  12. #if defined (HAVE___PROGNAME) && !HAVE_DECL___PROGNAME
  13. extern char *__progname;