]> git.saurik.com Git - bison.git/blobdiff - src/system.h
* tests/cxx-type.at: Construct a tree, count the parents of shared
[bison.git] / src / system.h
index feb851d6a84bfd6784a976a9f16d183a089a82fe..74639ec5fa47759d043f1e55ad22999e2749dba4 100644 (file)
 #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
@@ -51,6 +48,8 @@
 typedef size_t uintptr_t;
 #endif
 
+#include <assert.h>
+
 #include <verify.h>
 #include <xalloc.h>
 
@@ -61,6 +60,9 @@ typedef size_t uintptr_t;
 
 #include <stpcpy.h>
 
+/* From lib/basename.c. */
+char *base_name (char const *name);
+
 
 /*-----------------.
 | GCC extensions.  |