summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2015-02-23 22:06:56 -0800
committerTim Rice <tim@multitalents.net>2015-02-23 22:06:56 -0800
commit910209203d0cd60c5083901cbcc0b7b44d9f48d2 (patch)
tree2444ebe0b6def3043b4daaf07e4f9634b77e5c77
parent676c38d7cbe65b76bbfff796861bb6615cc6a596 (diff)
cleaner way fix dispatch.h portion of commit
a88dd1da119052870bb2654c1a32c51971eade16 (some systems have sig_atomic_t in signal.h, some in sys/signal.h) Sounds good to me djm@
-rw-r--r--dispatch.h2
-rw-r--r--packet.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/dispatch.h b/dispatch.h
index 2bcdc91a..cd51dbc0 100644
--- a/dispatch.h
+++ b/dispatch.h
@@ -27,8 +27,6 @@
#ifndef DISPATCH_H
#define DISPATCH_H
-#include <signal.h> /* for sig_atomic_t */
-
#define DISPATCH_MAX 255
enum {
diff --git a/packet.h b/packet.h
index b0a1531e..7b06544e 100644
--- a/packet.h
+++ b/packet.h
@@ -34,7 +34,7 @@
# define EC_POINT void
#endif /* WITH_OPENSSL */
-#include <sys/signal.h>
+#include <signal.h>
#include "openbsd-compat/sys-queue.h"
struct kex;