Clean up the namespace in a number of standard headers.
authorSascha Wildner <saw@online.de>
Wed, 1 Mar 2017 19:36:39 +0000 (20:36 +0100)
committerSascha Wildner <saw@online.de>
Wed, 1 Mar 2017 19:37:29 +0000 (20:37 +0100)
commit89393d9335a96395aea8ea3ff3f05eedd96cebb7
treeb14f4c425991fbf9ecaf14144bf6ea5fe311d495
parent4b68a64956868364d8c898b24b1d1173df126450
Clean up the namespace in a number of standard headers.

* In most cases, instead of the full load of <sys/types.h>,
  include <machine/stdint.h> which defines the __-types that
  <monetary.h>, <pwd.h>, <search.h>, <strings.h> and <wordexp.h>
  only need.

* Additionally, extend the visibility of the size_t definition
  and adjust WRDE_NOSYS's visibility because it was only in the
  standard up to Issue 6.

* In <time.h>, include <sys/stdint.h> to get at __pid_t too.

* Likewise, include <sys/stdint.h> in <sys/wait.h> and provide
  a definition of pid_t as required.
include/monetary.h
include/pwd.h
include/search.h
include/strings.h
include/time.h
include/wordexp.h
sys/sys/wait.h