summaryrefslogtreecommitdiff
path: root/include/errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/errno.h')
-rw-r--r--include/errno.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/errno.h b/include/errno.h
index 7289e1a9e..4e3a81689 100644
--- a/include/errno.h
+++ b/include/errno.h
@@ -47,7 +47,9 @@ extern int errno;
#endif
#ifdef _LIBC
+# ifdef __UCLIBC_HAS___PROGNAME__
extern const char *__progname, *__progname_full;
+# endif
#endif
#if defined __USE_GNU && defined __UCLIBC_HAS_PROGRAM_INVOCATION_NAME__