unistd.h incorrectly #includes <sys/types.h>

Issue #27 new
Garrett D'Amore repo owner created an issue

unistd.h winds up polluting the namespace, it includes sys/types.h to get things like useconds_t. However, it should only bring in those symbols that the standards require, and when required. (For example useconds_t should not be defined here before XPG4.2, nor after XPG6.)

Comments (0)

  1. Log in to comment