index bdb50b56376334bf4aac351ec18fc78510edf125..bf1326338cad192280cb89caa48308c4d7fe06ac 100644 (file)
#ifndef my_defs
#define my_defs
-#include <inttypes.h>
+
+#if defined(WIN32) || defined(__WIN32__)
+# include <inttypes.h>
+#endif
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+#else
+# ifdef HAVE_STDINT_H
+# include <stdint.h>
+# endif
+#endif
// error codes (mostly obsolete)
enum