summaryrefslogtreecommitdiff
path: root/sftp.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2013-06-06 08:30:20 +1000
committerDarren Tucker <dtucker@zip.com.au>2013-06-06 08:30:20 +1000
commitae133d4b31af05bb232d797419f498f3ae7e9f2d (patch)
tree5263ae5e32ed9ef71d839c7a2f3a005a636cab6a /sftp.c
parent408eaf3ab716096f8faf30f091bd54a2c7a17a09 (diff)
- (dtucker) [configure.ac sftp.c openbsd-compat/openbsd-compat.h] Cater for
platforms that don't have multibyte character support (specifically, mblen).
Diffstat (limited to 'sftp.c')
-rw-r--r--sftp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sftp.c b/sftp.c
index 0c90fd1e4..f50a4bb6a 100644
--- a/sftp.c
+++ b/sftp.c
@@ -38,7 +38,9 @@
38#ifdef HAVE_LIBGEN_H 38#ifdef HAVE_LIBGEN_H
39#include <libgen.h> 39#include <libgen.h>
40#endif 40#endif
41#include <locale.h> 41#ifdef HAVE_LOCALE_H
42# include <locale.h>
43#endif
42#ifdef USE_LIBEDIT 44#ifdef USE_LIBEDIT
43#include <histedit.h> 45#include <histedit.h>
44#else 46#else