X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/deb63d811784855bbdd81d5b76c274aa8041dd1f..4f6e011e2eececfe5fb2c467da542615f26439bc:/src/system.h diff --git a/src/system.h b/src/system.h index 1d681c9a..1e161770 100644 --- a/src/system.h +++ b/src/system.h @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef BISON_SYSTEM_H #define BISON_SYSTEM_H @@ -26,12 +26,10 @@ #include #include -#include #include #include -/* Verify a requirement at compile-time (unlike assert, which is runtime). */ -#define verify(name, assertion) struct name {char name[(assertion) ? 1 : -1];} +#include "unlocked-io.h" #if HAVE_SYS_TYPES_H # include @@ -54,6 +52,7 @@ typedef size_t uintptr_t; #endif +#include #include @@ -130,9 +129,9 @@ typedef size_t uintptr_t; | Obstacks. | `-----------*/ -# define obstack_chunk_alloc xmalloc -# define obstack_chunk_free free -# include +#define obstack_chunk_alloc xmalloc +#define obstack_chunk_free free +#include #define obstack_sgrow(Obs, Str) \ obstack_grow (Obs, Str, strlen (Str))