summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/int_lib.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-11-16 00:20:36 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-11-16 00:20:36 +0000
commit7205b23e794c660032100c7196b3439218bee879 (patch)
tree27a9031cc1f8ac3221900e2120113af08b6a3d0f /compiler-rt/lib/int_lib.h
parent6328e7b1b372cd5a29cf2440ed02248e85d3715f (diff)
downloadbcm5719-llvm-7205b23e794c660032100c7196b3439218bee879.tar.gz
bcm5719-llvm-7205b23e794c660032100c7196b3439218bee879.zip
lib: Include float.h in int_lib.h, and eliminate duplicate includes from a number of source files.
llvm-svn: 144739
Diffstat (limited to 'compiler-rt/lib/int_lib.h')
-rw-r--r--compiler-rt/lib/int_lib.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/lib/int_lib.h b/compiler-rt/lib/int_lib.h
index e265ced6014..9725f6e62a7 100644
--- a/compiler-rt/lib/int_lib.h
+++ b/compiler-rt/lib/int_lib.h
@@ -31,9 +31,13 @@
# define COMPILER_RT_ABI
#endif
+/* Include the standard compiler builtin headers we use functionality from. */
#include <limits.h>
#include <stdint.h>
#include <stdbool.h>
+#include <float.h>
+
+/* Include the system math.h, which we use in a number of places. */
#include <math.h>
/* If compiling for kernel use, call panic() instead of abort(). */
OpenPOWER on IntegriCloud