summaryrefslogtreecommitdiff
path: root/sftp.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2008-05-20 08:57:06 +1000
committerDamien Miller <djm@mindrot.org>2008-05-20 08:57:06 +1000
commita7058ec7c03017b89ba75fc0b9a58ca672aab9e9 (patch)
tree06fe5502cb5e86566eb93dbae817e127c79f4d8b /sftp.c
parent58a81148806d8dae74e5aa9c81262fb64a55d872 (diff)
- (djm) [configure.ac mux.c sftp.c openbsd-compat/Makefile.in]
[openbsd-compat/fmt_scaled.c openbsd-compat/openbsd-compat.h] Fix compilation on Linux, including pulling in fmt_scaled(3) implementation from OpenBSD's libutil.
Diffstat (limited to 'sftp.c')
-rw-r--r--sftp.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sftp.c b/sftp.c
index 0745baf08..ffc35cb83 100644
--- a/sftp.c
+++ b/sftp.c
@@ -43,9 +43,16 @@ typedef void EditLine;
43#include <stdio.h> 43#include <stdio.h>
44#include <string.h> 44#include <string.h>
45#include <unistd.h> 45#include <unistd.h>
46#include <util.h>
47#include <stdarg.h> 46#include <stdarg.h>
48 47
48#ifdef HAVE_UTIL_H
49# include <util.h>
50#endif
51
52#ifdef HAVE_LIBUTIL_H
53# include <libutil.h>
54#endif
55
49#include "xmalloc.h" 56#include "xmalloc.h"
50#include "log.h" 57#include "log.h"
51#include "pathnames.h" 58#include "pathnames.h"