This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/13198] sched.h should define pid_t
- From: "eblake at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Mon, 19 Sep 2011 22:15:42 +0000
- Subject: [Bug libc/13198] sched.h should define pid_t
- Auto-submitted: auto-generated
- References: <bug-13198-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13198
Eric Blake <eblake at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |eblake at redhat dot com
--- Comment #1 from Eric Blake <eblake at redhat dot com> 2011-09-19 22:15:42 UTC ---
This appears to be fixed by at least glibc 2.13:
$ printf '#include<sched.h>\n' | gcc -E - | grep pid_t | head -n2
typedef int __pid_t;
typedef __pid_t pid_t;
$ printf '#define _POSIX_C_SOURCE 200809L\n#include<sched.h>\n' \
| gcc -E - | grep pid_t | head -n2
typedef int __pid_t;
typedef __pid_t pid_t;
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.