commit | ae133d4b31af05bb232d797419f498f3ae7e9f2d | [log] [tgz] |
---|---|---|
author | Darren Tucker <dtucker@zip.com.au> | Thu Jun 06 08:30:20 2013 +1000 |
committer | Darren Tucker <dtucker@zip.com.au> | Thu Jun 06 08:30:20 2013 +1000 |
tree | 5263ae5e32ed9ef71d839c7a2f3a005a636cab6a | |
parent | 408eaf3ab716096f8faf30f091bd54a2c7a17a09 [diff] [blame] |
- (dtucker) [configure.ac sftp.c openbsd-compat/openbsd-compat.h] Cater for platforms that don't have multibyte character support (specifically, mblen).
diff --git a/sftp.c b/sftp.c index 0c90fd1..f50a4bb 100644 --- a/sftp.c +++ b/sftp.c
@@ -38,7 +38,9 @@ #ifdef HAVE_LIBGEN_H #include <libgen.h> #endif -#include <locale.h> +#ifdef HAVE_LOCALE_H +# include <locale.h> +#endif #ifdef USE_LIBEDIT #include <histedit.h> #else