X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/e9071366c3104e4e4a2490c16d53e7eeef670f45..2ce4ed68c9b156fd353ada1a986bb61dfa42f60a:/src/system.h diff --git a/src/system.h b/src/system.h index 2468deed..241a40d7 100644 --- a/src/system.h +++ b/src/system.h @@ -41,8 +41,6 @@ #include #include -#include "unlocked-io.h" - #if HAVE_SYS_TYPES_H # include #endif @@ -54,28 +52,24 @@ #if HAVE_INTTYPES_H # include #endif -#if HAVE_STDINT_H -# include -#endif -#if ! HAVE_UINTPTR_T +#include + +#ifndef UINTPTR_MAX /* This isn't perfect, but it's good enough for Bison, which needs only to hash pointers. */ typedef size_t uintptr_t; #endif -#include -#include - -/*---------------------. -| Missing prototypes. | -`---------------------*/ +/*---------. +| Gnulib. | +`---------*/ #include - -/* From lib/basename.c. */ -char *base_name (char const *name); +#include +#include +#include /*-----------------.