summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/bsd-signal.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2020-01-26 04:09:17 +0100
committerDarren Tucker <dtucker@dtucker.net>2020-01-26 04:09:17 +0100
commit0373f9eba2b63455dceedbd3ac3d5dca306789ff (patch)
tree3166537a3d8422816df3fcbabef3bffcc552aec7 /openbsd-compat/bsd-signal.h
parentWrap stdint.h in tests inside HAVE_STDINT_H. (diff)
downloadopenssh-0373f9eba2b63455dceedbd3ac3d5dca306789ff.tar.xz
openssh-0373f9eba2b63455dceedbd3ac3d5dca306789ff.zip
Include signal.h to prevent redefintion of _NSIG.
Diffstat (limited to 'openbsd-compat/bsd-signal.h')
-rw-r--r--openbsd-compat/bsd-signal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsd-compat/bsd-signal.h b/openbsd-compat/bsd-signal.h
index dafb4b199..8d8c44419 100644
--- a/openbsd-compat/bsd-signal.h
+++ b/openbsd-compat/bsd-signal.h
@@ -19,6 +19,8 @@
#include "includes.h"
+#include <signal.h>
+
#ifndef _NSIG
# ifdef NSIG
# define _NSIG NSIG