[git commit future 1/1] iconv.c: make iconv use the XPG version of basename
Peter S. Mazinger
ps.m at gmx.net
Wed Mar 16 19:20:32 UTC 2011
commit: http://git.uclibc.org/uClibc/commit/?id=0e45b4c998d34d9c234e075b1aa43848db7a441f
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future
Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
utils/iconv.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/utils/iconv.c b/utils/iconv.c
index 844320a..1ee0dd5 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 __LOCALE_DATA_CODESET_LIST */
--
1.7.3.4
More information about the uClibc-cvs
mailing list