diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-19 00:33:39 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:28 +0200 |
commit | 71b7e3c571ba29bd4e8f99c187286651ebd10d1a (patch) | |
tree | fcfb165a98a161b7856bb53f47b2639d650c6f57 /utils | |
parent | 1f3ca8e086cef1a577c0fcfb948ba3c13421e45d (diff) |
iconv.c: make iconv use the XPG version of basename
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/iconv.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/iconv.c b/utils/iconv.c index 589c64cbd..04e2c32eb 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 */ |