aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2015-06-02 15:12:03 +0200
committerBjörn-Egil Dahlberg <[email protected]>2015-06-02 15:27:38 +0200
commit1a2ae45a5999850c1578e9ea0c0f993c04f934fb (patch)
treed39b8d779abe0a8447f800f1cf3c7a6b06d8d8ef
parent49e7aba222d0eac504bb5018e98d201e70ea98ae (diff)
downloadotp-1a2ae45a5999850c1578e9ea0c0f993c04f934fb.tar.gz
otp-1a2ae45a5999850c1578e9ea0c0f993c04f934fb.tar.bz2
otp-1a2ae45a5999850c1578e9ea0c0f993c04f934fb.zip
erl_interface: Move math.h include after eidef.h
-rw-r--r--lib/erl_interface/src/encode/encode_double.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/erl_interface/src/encode/encode_double.c b/lib/erl_interface/src/encode/encode_double.c
index a19a871eda..72a1c60808 100644
--- a/lib/erl_interface/src/encode/encode_double.c
+++ b/lib/erl_interface/src/encode/encode_double.c
@@ -18,12 +18,12 @@
*/
#include <stdio.h>
#include <string.h>
-#if defined(HAVE_ISFINITE)
-#include <math.h>
-#endif
#include "eidef.h"
#include "eiext.h"
#include "putget.h"
+#if defined(HAVE_ISFINITE)
+#include <math.h>
+#endif
int ei_encode_double(char *buf, int *index, double p)
{