#ifndef BISON_SYSTEM_H
#define BISON_SYSTEM_H
-#if HAVE_CONFIG_H
-# include <config.h>
-#endif
-
#include <limits.h>
#include <stddef.h>
-#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include "unlocked-io.h"
+
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
typedef size_t uintptr_t;
#endif
+#include <assert.h>
+
#include <verify.h>
#include <xalloc.h>
#include <stpcpy.h>
+/* From lib/basename.c. */
+char *base_name (char const *name);
+
/*-----------------.
| GCC extensions. |