aboutsummaryrefslogtreecommitdiff
path: root/signal
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-07-19 17:21:02 +0000
committerUlrich Drepper <drepper@redhat.com>2007-07-19 17:21:02 +0000
commit50e16f851971fa313a0ab870e3874a3df9314666 (patch)
tree7081f5f7e18ee8a8edd0b74fb41f3865452c3386 /signal
parentb257c726a4fe95d3dfb7ecdb3b97bb05fb446465 (diff)
downloadglibc-50e16f851971fa313a0ab870e3874a3df9314666.zip
glibc-50e16f851971fa313a0ab870e3874a3df9314666.tar.gz
glibc-50e16f851971fa313a0ab870e3874a3df9314666.tar.bz2
* bits/types.h: Don't include stddef.h, don't define __need_size_t.
* signal/signal.h <__USE_BSD || __USE_XOPEN_EXTENDED>: Define __need_size_t and include stddef.h. * sysvipc/sys/msg.h: Likewise. * posix/sched.h: Likewise. * hurd/hurd/signal.h (__need_size_t): Define. * CONFORMANCE: ctype.h and wctype.h no longer define size_t, neither does signal.h in pedantic ISO C namespaces. stdio.h no longer defines wint_t or wchar_t.
Diffstat (limited to 'signal')
-rw-r--r--signal/signal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/signal/signal.h b/signal/signal.h
index ed39328..aa21037 100644
--- a/signal/signal.h
+++ b/signal/signal.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2003, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2003, 2004, 2007 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -339,6 +339,8 @@ extern int sigreturn (struct sigcontext *__scp) __THROW;
#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
+# define __need_size_t
+# include <stddef.h>
/* If INTERRUPT is nonzero, make signal SIG interrupt system calls
(causing them to fail with EINTR); if INTERRUPT is zero, make system