Skip to content

Commit 838b54f

Browse files
committed
Fix C++ math.h include order issue
Fixes #1257
1 parent 2d43d40 commit 838b54f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libc/isystem/complex.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#ifndef _COMPLEX_H
22
#define _COMPLEX_H
3+
#include <math.h>
34
#include "libc/complex.h"
45
#include "libc/imag.h"
5-
#include "libc/math.h"
66
#endif /* _COMPLEX_H */

libc/isystem/float.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#ifndef _FLOAT_H
22
#define _FLOAT_H
3-
#include "libc/math.h"
3+
#include <math.h>
44
#include "libc/runtime/fenv.h"
55
#endif /* _FLOAT_H */

0 commit comments

Comments
 (0)