X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Ferrno.h;h=93f5f6ecb6c357816ad0a31e209df751de09e881;hb=6d70c08a2c37745df637b231711f6dec79dbc6e1;hp=d9c2c9c73099a5161c3d6568f41a3f8e000ce752;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/include/errno.h b/include/errno.h index d9c2c9c7..93f5f6ec 100644 --- a/include/errno.h +++ b/include/errno.h @@ -5,11 +5,17 @@ extern "C" { #endif +#include + #include -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