summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2015-02-24 06:30:29 +1100
committerDamien Miller <djm@mindrot.org>2015-02-24 06:30:29 +1100
commita88dd1da119052870bb2654c1a32c51971eade16 (patch)
tree75760e8bb8daecaddf6646ddceb2c52c840859ef
parent5248429b5ec524d0a65507cff0cdd6e0cb99effd (diff)
various include fixes for portable
-rw-r--r--dispatch.h2
-rw-r--r--ssh_api.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/dispatch.h b/dispatch.h
index cd51dbc0..2bcdc91a 100644
--- a/dispatch.h
+++ b/dispatch.h
@@ -27,6 +27,8 @@
#ifndef DISPATCH_H
#define DISPATCH_H
+#include <signal.h> /* for sig_atomic_t */
+
#define DISPATCH_MAX 255
enum {
diff --git a/ssh_api.h b/ssh_api.h
index a7e14e06..642acd5b 100644
--- a/ssh_api.h
+++ b/ssh_api.h
@@ -18,10 +18,11 @@
#ifndef API_H
#define API_H
-#include <sys/queue.h>
#include <sys/types.h>
#include <signal.h>
+#include "openbsd-compat/sys-queue.h"
+
#include "cipher.h"
#include "sshkey.h"
#include "kex.h"