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