about summary refs log tree commit diff
path: root/sysvipc/sys/msg.h
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 /sysvipc/sys/msg.h
parentb257c726a4fe95d3dfb7ecdb3b97bb05fb446465 (diff)
downloadglibc-50e16f851971fa313a0ab870e3874a3df9314666.tar.gz
glibc-50e16f851971fa313a0ab870e3874a3df9314666.tar.xz
glibc-50e16f851971fa313a0ab870e3874a3df9314666.zip
* 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 'sysvipc/sys/msg.h')
-rw-r--r--sysvipc/sys/msg.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysvipc/sys/msg.h b/sysvipc/sys/msg.h
index b22c07678a..cdc96be9b7 100644
--- a/sysvipc/sys/msg.h
+++ b/sysvipc/sys/msg.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 1995-1997,1999,2000,2003,2006 Free Software Foundation, Inc.
+/* Copyright (C) 1995-1997,1999,2000,2003,2006,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
@@ -21,6 +22,9 @@
 
 #include <features.h>
 
+#define __need_size_t
+#include <stddef.h>
+
 /* Get common definition of System V style IPC.  */
 #include <sys/ipc.h>