aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/error.c1
-rw-r--r--misc/init-misc.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/misc/error.c b/misc/error.c
index 9d01066169..0e12297001 100644
--- a/misc/error.c
+++ b/misc/error.c
@@ -74,6 +74,7 @@ unsigned int error_message_count;
# define program_name program_invocation_name
# include <errno.h>
+# include <libio/libioP.h>
/* In GNU libc we want do not want to use the common name `error' directly.
Instead make it a weak alias. */
diff --git a/misc/init-misc.c b/misc/init-misc.c
index 8b877c3c43..cab5f9f9e0 100644
--- a/misc/init-misc.c
+++ b/misc/init-misc.c
@@ -18,6 +18,7 @@
02111-1307 USA. */
#include <string.h>
+#include <libc-internal.h>
char *__progname_full = (char *) "";
char *__progname = (char *) "";