# Check for ANSI C compliant compiler
cat > $test.c <<EOF
+#include <stdint.h>
#include <stdio.h>
#include <stdarg.h>
#include "zconf${SUFFIX}.h"
#endif
#include <sys/types.h> /* for off_t */
-#include <stdarg.h> /* for va_list */
#include <stddef.h> /* for wchar_t and NULL */
typedef void *voidpf;
typedef void *voidp;
+typedef uint32_t z_crc_t;
+
#ifdef HAVE_UNISTD_H /* may be set to #if 1 by configure/cmake/etc */
# define Z_HAVE_UNISTD_H
#endif
#endif
#include <sys/types.h> /* for off_t */
-#include <stdarg.h> /* for va_list */
#include <stddef.h> /* for wchar_t and NULL */
#endif
#ifndef RC_INVOKED
-#include "zconf-ng.h"
-
#include <stdint.h>
+#include <stdarg.h>
+
+#include "zconf-ng.h"
#ifndef ZCONFNG_H
# error Missing zconf-ng.h add binary output directory to include directories
#endif
#ifndef RC_INVOKED
-#include "zconf.h"
-
#include <stdint.h>
#include <stdarg.h>
+#include "zconf.h"
+
#ifndef ZCONF_H
# error Missing zconf.h add binary output directory to include directories
#endif