From 7a5d21ad2dcb34d28ba0df4871d6c2f7997ddfb4 Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Fri, 26 May 2006 02:51:23 +0000
Subject: 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

---
 libc/string/__xpg_strerror_r.c | 1 -
 libc/string/_syserrmsg.h       | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

(limited to 'libc')

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! */
-- 
cgit v1.2.3