AH_BOTTOM([
+#ifndef __STDC_FORMAT_MACROS
+# define __STDC_FORMAT_MACROS
+#endif
+
#if defined(__cplusplus)
-#include CSTDINT_H
-#include CINTTYPES_H
+# include CINTTYPES_H
#else
-#include <stdint.h>
-#include <inttypes.h>
+# include <inttypes.h>
#endif
#if !defined(HAVE_ULONG) && !defined(__USE_MISC)