[git commit] iconv.c: make iconv use the XPG version of basename
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Fri Jun 15 12:00:28 UTC 2012
commit: http://git.uclibc.org/uClibc/commit/?id=71b7e3c571ba29bd4e8f99c187286651ebd10d1a
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
utils/iconv.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/utils/iconv.c b/utils/iconv.c
index 589c64c..04e2c32 100644
--- a/utils/iconv.c
+++ b/utils/iconv.c
@@ -98,11 +98,13 @@
* Manuel
*/
+/* keep libgen before string.h - and porting.h to use the
+ * XPG version of basename */
+#include <libgen.h>
#include "porting.h"
#include <string.h>
#include <iconv.h>
#include <stdarg.h>
-#include <libgen.h>
#include <wchar.h>
#include "wchar.c" /* for _UC_iconv_t and __iconv_codesets */
More information about the uClibc-cvs
mailing list