X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Ferrno.h;fp=include%2Ferrno.h;h=0361b33ad348a2ab1d3422a2399cb2e3ccf0217b;hp=9e1e3202b79dcd9d024a52d76e8b5ed99cafe6ad;hb=b4ea63856a6af3d1bcc2db12537785371ac2024c;hpb=5c5ac810c31a77dd17b95bb93e13487a3c1c1433 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