config.h.W32: Include sys/types.h.

[!_PID_T_] (pid_t): Define only if not already defined.
This commit is contained in:
Eli Zaretskii 2007-12-22 11:00:29 +00:00
parent c233a70323
commit be883de241
2 changed files with 8 additions and 0 deletions

View file

@ -1,5 +1,8 @@
2007-12-22 Eli Zaretskii <eliz@gnu.org>
* config.h.W32: Include sys/types.h.
[!_PID_T_] (pid_t): Define only if not already defined by sys/types.h.
* vpath.c (construct_vpath_list) [HAVE_DOS_PATHS]: Support VPATH
values that use `:' in drive letters, when PATH_SEPARATOR_CHAR is
also `:'.

View file

@ -418,11 +418,16 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
#include <sys/types.h>
/* Define to `int' if <sys/types.h> doesn't define. */
#define gid_t int
/* Define to `int' if <sys/types.h> does not define. */
/* GCC 4.x reportedly defines pid_t. */
#ifndef _PID_T_
#define pid_t int
#endif
/* Define to `int' if <sys/types.h> doesn't define. */
#define uid_t int