diff options
author | Damien Miller <djm@mindrot.org> | 2008-05-20 08:57:06 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2008-05-20 08:57:06 +1000 |
commit | a7058ec7c03017b89ba75fc0b9a58ca672aab9e9 (patch) | |
tree | 06fe5502cb5e86566eb93dbae817e127c79f4d8b /mux.c | |
parent | 58a81148806d8dae74e5aa9c81262fb64a55d872 (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 'mux.c')
-rw-r--r-- | mux.c | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -17,6 +17,8 @@ | |||
17 | 17 | ||
18 | /* ssh session multiplexing support */ | 18 | /* ssh session multiplexing support */ |
19 | 19 | ||
20 | #include "includes.h" | ||
21 | |||
20 | #include <sys/types.h> | 22 | #include <sys/types.h> |
21 | #include <sys/param.h> | 23 | #include <sys/param.h> |
22 | #include <sys/stat.h> | 24 | #include <sys/stat.h> |
@@ -32,9 +34,16 @@ | |||
32 | #include <stdio.h> | 34 | #include <stdio.h> |
33 | #include <string.h> | 35 | #include <string.h> |
34 | #include <unistd.h> | 36 | #include <unistd.h> |
35 | #include <util.h> | ||
36 | #include <paths.h> | 37 | #include <paths.h> |
37 | 38 | ||
39 | #ifdef HAVE_UTIL_H | ||
40 | # include <util.h> | ||
41 | #endif | ||
42 | |||
43 | #ifdef HAVE_LIBUTIL_H | ||
44 | # include <libutil.h> | ||
45 | #endif | ||
46 | |||
38 | #include "openbsd-compat/sys-queue.h" | 47 | #include "openbsd-compat/sys-queue.h" |
39 | #include "xmalloc.h" | 48 | #include "xmalloc.h" |
40 | #include "log.h" | 49 | #include "log.h" |