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