This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/13198] sched.h should define pid_t


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]