need sigtypes.h for sigset_t, since <sys/siginfo.h> includes this directly.

This commit is contained in:
christos 2017-11-29 17:36:03 +00:00
parent 1215cf5b66
commit d6c7af377b
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: signal.h,v 1.6 2011/01/02 18:07:02 skrll Exp $ */
/* $NetBSD: signal.h,v 1.7 2017/11/29 17:36:03 christos Exp $ */
/* $OpenBSD: signal.h,v 1.1 1998/06/23 19:45:27 mickey Exp $ */
@ -33,6 +33,7 @@
*/
#include <sys/featuretest.h>
#include <sys/sigtypes.h>
typedef int sig_atomic_t;

View File

@ -1,4 +1,4 @@
/* $NetBSD: signal.h,v 1.20 2008/11/19 22:59:56 cegger Exp $ */
/* $NetBSD: signal.h,v 1.21 2017/11/29 17:36:16 christos Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@ -39,6 +39,7 @@
typedef int sig_atomic_t;
#if defined(_NETBSD_SOURCE)
#include <sys/sigtypes.h>
#include <machine/frame.h>
#if defined(__LIBC12_SOURCE__) || defined(_KERNEL)