Index: srtp/crypto/include/integers.h |
diff --git a/srtp/crypto/include/integers.h b/srtp/crypto/include/integers.h |
index 7010efdde3bc5abbd6a5ecb902bdcfd1638ae16a..ed77210b2b0ee108b879f9bbdb35b5621484d296 100644 |
--- a/srtp/crypto/include/integers.h |
+++ b/srtp/crypto/include/integers.h |
@@ -47,7 +47,6 @@ |
#ifndef INTEGERS_H |
#define INTEGERS_H |
-#include "config.h" /* configuration file, using autoconf */ |
#ifdef SRTP_KERNEL |
@@ -76,7 +75,7 @@ |
#endif |
/* Can we do 64 bit integers? */ |
-#ifndef HAVE_UINT64_T |
+#if !defined(HAVE_UINT64_T) |
# if SIZEOF_UNSIGNED_LONG == 8 |
typedef unsigned long uint64_t; |
# elif SIZEOF_UNSIGNED_LONG_LONG == 8 |
@@ -99,7 +98,7 @@ typedef unsigned int uint32_t; |
#endif |
-#ifdef NO_64BIT_MATH |
+#if defined(NO_64BIT_MATH) && defined(HAVE_CONFIG_H) |
typedef double uint64_t; |
/* assert that sizeof(double) == 8 */ |
extern uint64_t make64(uint32_t high, uint32_t low); |