local-bits-sigstack
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)
committerAurelien Jarno <aurel32@debian.org>
Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)
Fix stack_t header hygiene on Hurd/kFreeBSD

Done upstream in the linux version in c66b29f9cce9bf7c67d55879dff5e4cd03ecfac1.
Fixed in 2.26 in a different way.

Gbp-Pq: Topic any
Gbp-Pq: Name local-bits-sigstack.diff

bits/sigstack.h

index 42143e363a5401d943e9a086b01af3a31c79e5af..2cce4449ada483252e206b8b4230870e35c6c4b1 100644 (file)
@@ -23,6 +23,8 @@
 # error "Never include this file directly.  Use <signal.h> instead"
 #endif
 
+#define __need_size_t
+#include <stddef.h>
 
 /* Structure describing a signal stack (obsolete).  */
 struct sigstack