When using a config header in Autoconf, it is necessary to #include
that header before including anything else that might be influenced
by configure tests, which includes standard C headers.
In particular, things can go completely off the rails if Gnulib is
involved and generates replacements for the standard headers used
by this file.
/*
- * Copyright © 2015 Nick Bowler
+ * Copyright © 2015, 2023 Nick Bowler
*
* Simple TAP output library for C programs.
*
* There is NO WARRANTY, to the extent permitted by law.
*/
+#if HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>