]> Savannah Git Hosting - gnulib.git/commit
unistd: stddef.h and sys/types.h namespace cleanup
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 24 Jun 2019 18:54:00 +0000 (11:54 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 24 Jun 2019 18:54:27 +0000 (11:54 -0700)
commita6e8a8612bd34cc60034b544c48c5b8f7f0b41fc
treea49ce86f8df0401980d48213429ccdd54cb60186
parent7f7d18ebc66d7894d86cb26bae855895a2f359e0
unistd: stddef.h and sys/types.h namespace cleanup

* lib/unistd.in.h [__GLIBC__]:
Do not include stddef.h or sys/types.h.
[!__GLIBC__]: Always include sys/types.h, since unistd.h is
supposed to declare off_t and ssize_t.  Problem found when looking
at why @GNULIB_PWRITE@ was different from the newly-added
@GNULIB_COPY_FILE_RANGE@ with respect to ssize_t.
ChangeLog
lib/unistd.in.h