[openssh-commits] [openssh] 01/01: various include fixes for portable
git+noreply at mindrot.org
git+noreply at mindrot.org
Tue Feb 24 06:30:43 AEDT 2015
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit a88dd1da119052870bb2654c1a32c51971eade16
Author: Damien Miller <djm at mindrot.org>
Date: Tue Feb 24 06:30:29 2015 +1100
various include fixes for portable
---
dispatch.h | 2 ++
ssh_api.h | 3 ++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/dispatch.h b/dispatch.h
index cd51dbc..2bcdc91 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 a7e14e0..642acd5 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"
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list