RFC: deprecate sys/sysmacros.h inclusion from sys/types.h
Zack Weinberg
zackw@panix.com
Mon Dec 21 20:31:00 GMT 2015
On Mon, Dec 7, 2015 at 9:03 AM, Zack Weinberg <zackw@panix.com> wrote:
> On 11/18/2015 11:13 PM, Zack Weinberg wrote:
>> Andreas may still be running whole-distro rebuild tests, but enough
>> results came back that I feel fairly confident saying that option B
>> (remove the #include <sys/types.h> from stdlib.h) is a non-starter.
>> There are too many (sloppily coded, yes) programs that include stdlib.h
>> and expect it to expose all the POSIX foo_t types. That leaves us with
>> option A (remove the #include <sys/sysmacros.h> from sys/types.h) and
>> even that is going to break stuff. So we need a deprecation period.
>>
>> The attached, lightly tested, patch sets up that deprecation period.
>
> Ping. The patch at
> <https://sourceware.org/ml/libc-alpha/2015-11/msg00452.html> is awaiting
> review.
Ping.
zw
More information about the Libc-alpha
mailing list