From 508b20ead1710e8c295630d096960e51a65b7e5d Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 14 Apr 2011 15:30:22 +0200 Subject: make UCLIBC_HAS_PROGRAM_INVOCATION_NAME and UCLIBC_HAS___PROGNAME independent options Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- include/errno.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/errno.h') 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 -- cgit v1.2.3