X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Ferrno.h;h=0361b33ad348a2ab1d3422a2399cb2e3ccf0217b;hp=9e1e3202b79dcd9d024a52d76e8b5ed99cafe6ad;hb=43653c1250ad5eb5385d7e08292ad047420f8d25;hpb=c3db56c4cb2b5eb06cbf46b8fe526f4fe7e10321 diff --git a/include/errno.h b/include/errno.h index 9e1e3202..0361b33a 100644 --- a/include/errno.h +++ b/include/errno.h @@ -5,6 +5,8 @@ extern "C" { #endif +#include + #include #ifdef __GNUC__ @@ -13,6 +15,10 @@ __attribute__((const)) int *__errno_location(void); #define errno (*__errno_location()) +#ifdef _GNU_SOURCE +extern char *program_invocation_short_name, *program_invocation_name; +#endif + #ifdef __cplusplus } #endif