diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-04-14 15:30:22 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:36 +0200 |
commit | 508b20ead1710e8c295630d096960e51a65b7e5d (patch) | |
tree | 932f692c5724193e6d17100e758c2271e0dfb2b9 /include | |
parent | 135083090268acd6983a5d43e96c9183009c5290 (diff) |
make UCLIBC_HAS_PROGRAM_INVOCATION_NAME and UCLIBC_HAS___PROGNAME independent options
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/errno.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/errno.h b/include/errno.h index 7e1f583a8..fb7c1f561 100644 --- a/include/errno.h +++ b/include/errno.h @@ -47,6 +47,9 @@ __BEGIN_DECLS extern int errno; #endif +#ifdef _LIBC +extern const char *__progname, *__progname_full; +#endif #if defined __USE_GNU && defined __UCLIBC_HAS_PROGRAM_INVOCATION_NAME__ /* The full and simple forms of the name with which the program was |