diff options
author | Damien Miller <djm@mindrot.org> | 2015-02-24 06:30:29 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-02-24 06:30:29 +1100 |
commit | a88dd1da119052870bb2654c1a32c51971eade16 (patch) | |
tree | 75760e8bb8daecaddf6646ddceb2c52c840859ef | |
parent | 5248429b5ec524d0a65507cff0cdd6e0cb99effd (diff) |
various include fixes for portable
-rw-r--r-- | dispatch.h | 2 | ||||
-rw-r--r-- | ssh_api.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/dispatch.h b/dispatch.h index cd51dbc0b..2bcdc91a5 100644 --- a/dispatch.h +++ b/dispatch.h | |||
@@ -27,6 +27,8 @@ | |||
27 | #ifndef DISPATCH_H | 27 | #ifndef DISPATCH_H |
28 | #define DISPATCH_H | 28 | #define DISPATCH_H |
29 | 29 | ||
30 | #include <signal.h> /* for sig_atomic_t */ | ||
31 | |||
30 | #define DISPATCH_MAX 255 | 32 | #define DISPATCH_MAX 255 |
31 | 33 | ||
32 | enum { | 34 | enum { |
@@ -18,10 +18,11 @@ | |||
18 | #ifndef API_H | 18 | #ifndef API_H |
19 | #define API_H | 19 | #define API_H |
20 | 20 | ||
21 | #include <sys/queue.h> | ||
22 | #include <sys/types.h> | 21 | #include <sys/types.h> |
23 | #include <signal.h> | 22 | #include <signal.h> |
24 | 23 | ||
24 | #include "openbsd-compat/sys-queue.h" | ||
25 | |||
25 | #include "cipher.h" | 26 | #include "cipher.h" |
26 | #include "sshkey.h" | 27 | #include "sshkey.h" |
27 | #include "kex.h" | 28 | #include "kex.h" |