Use more config.h defines for more campatibility
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 21 Nov 2003 15:03:54 +0000 (15:03 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 21 Nov 2003 15:03:54 +0000 (15:03 +0000)
[r2092]

ir/tv/fltcalc.c

index d081979..ef9795d 100644 (file)
 #  undef NAN
 #endif
 
+#ifdef HAVE_INTTYPES_H
 #include <inttypes.h>
+#endif
+
 #include <string.h>
 #include <stdlib.h>
 #include <stdio.h>
@@ -33,6 +36,9 @@
 #ifdef HAVE_ALLOCA_H
 # include <alloca.h>
 #endif
+#ifdef HAVE_MALLOC_H
+# include <malloc.h>
+#endif
 
 typedef uint32_t UINT32;