Skip to content

Commit

Permalink
Fix C++ math.h include order issue
Browse files Browse the repository at this point in the history
Fixes #1257
  • Loading branch information
jart committed Dec 13, 2024
1 parent 2d43d40 commit 838b54f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libc/isystem/complex.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#ifndef _COMPLEX_H
#define _COMPLEX_H
#include <math.h>
#include "libc/complex.h"
#include "libc/imag.h"
#include "libc/math.h"
#endif /* _COMPLEX_H */
2 changes: 1 addition & 1 deletion libc/isystem/float.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _FLOAT_H
#define _FLOAT_H
#include "libc/math.h"
#include <math.h>
#include "libc/runtime/fenv.h"
#endif /* _FLOAT_H */

0 comments on commit 838b54f

Please sign in to comment.