summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-05-26 02:51:23 +0000
committerMike Frysinger <vapier@gentoo.org>2006-05-26 02:51:23 +0000
commit7a5d21ad2dcb34d28ba0df4871d6c2f7997ddfb4 (patch)
treea3c530581bdc301331611cd14ade54a6d9ff8bfe /libc
parent09a6ea94290c91bf08a7068046dcd79be14948b6 (diff)
Amir Shalem writes:
there is a missing include for <bits/uClibc_uintmaxtostr.h> in libc/string/_syserrmsg.h, where _syserrmsg.h uses __UIM_BUFLEN_INT
Diffstat (limited to 'libc')
-rw-r--r--libc/string/__xpg_strerror_r.c1
-rw-r--r--libc/string/_syserrmsg.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/libc/string/__xpg_strerror_r.c b/libc/string/__xpg_strerror_r.c
index d146d35ac..c5096a6f7 100644
--- a/libc/string/__xpg_strerror_r.c
+++ b/libc/string/__xpg_strerror_r.c
@@ -8,7 +8,6 @@
#include <features.h>
#include <errno.h>
#include <string.h>
-#include <bits/uClibc_uintmaxtostr.h>
#include "_syserrmsg.h"
libc_hidden_proto(__xpg_strerror_r)
diff --git a/libc/string/_syserrmsg.h b/libc/string/_syserrmsg.h
index efb7a1d59..8bd742e70 100644
--- a/libc/string/_syserrmsg.h
+++ b/libc/string/_syserrmsg.h
@@ -8,6 +8,8 @@
#ifndef __SYSERRMSG_H
#define __SYSERRMSG_H 1
+#include <bits/uClibc_uintmaxtostr.h>
+
/**********************************************************************/
/* NOTE: If we ever do internationalized syserr messages, this will
* have to be changed! */