diff mbox series

[hurd,commited,5/7] hurd: fix warning

Message ID 20180127155629.23644-6-samuel.thibault@ens-lyon.org
State New
Headers show
Series warning fixes | expand

Commit Message

Samuel Thibault Jan. 27, 2018, 3:56 p.m. UTC
* sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
---
 ChangeLog                         | 1 +
 sysdeps/generic/sigset-cvt-mask.h | 2 ++
 2 files changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/ChangeLog b/ChangeLog
index f9770b1554..7284b25b78 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,7 @@ 
 	* sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
 	<sys/wait.h>, <time.h>, <sys/uio.h>.
 	(NOT_CANCEL_H): Add inclusion guard.
+	* sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
 
 2018-01-27  James Clarke  <jrtc27@jrtc27.com>
 
diff --git a/sysdeps/generic/sigset-cvt-mask.h b/sysdeps/generic/sigset-cvt-mask.h
index 78e15c3386..ad4b8b2d2d 100644
--- a/sysdeps/generic/sigset-cvt-mask.h
+++ b/sysdeps/generic/sigset-cvt-mask.h
@@ -20,6 +20,8 @@ 
 
 /* Convert between an old-style 32-bit signal mask and a POSIX sigset_t.  */
 
+#include <sigsetops.h>
+
 /* Perform *SET = MASK.  Unused bits of *SET are set to 0.
    Returns zero for success or -1 for errors (from sigaddset/sigemptyset).  */
 static inline int __attribute__ ((unused))