X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=include%2Ferrno.h;h=93f5f6ecb6c357816ad0a31e209df751de09e881;hb=cb525397bb053ea49cf160965477a17b17286eb3;hp=9e1e3202b79dcd9d024a52d76e8b5ed99cafe6ad;hpb=c3db56c4cb2b5eb06cbf46b8fe526f4fe7e10321;p=musl diff --git a/include/errno.h b/include/errno.h index 9e1e3202..93f5f6ec 100644 --- a/include/errno.h +++ b/include/errno.h @@ -5,14 +5,17 @@ extern "C" { #endif +#include + #include -#ifdef __GNUC__ -__attribute__((const)) -#endif int *__errno_location(void); #define errno (*__errno_location()) +#ifdef _GNU_SOURCE +extern char *program_invocation_short_name, *program_invocation_name; +#endif + #ifdef __cplusplus } #endif