diff --git a/src/livarot/MyMath.h b/src/livarot/MyMath.h
index 27e8089eccbd68b7a8d48168aebda1966b5a820c..58f70f3500668b90eb63579645fd5d6fe77b8dc4 100644 (file)
--- a/src/livarot/MyMath.h
+++ b/src/livarot/MyMath.h
#ifndef my_math
#define my_math
-#include <stdio.h>
-#include <stdlib.h>
-#include <inttypes.h>
-#include <string.h>
-//#include <iostream.h>
+#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
+#ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
typedef struct vec2
{