mirror of https://github.com/YosysHQ/yosys.git
Include <cmath> in yosys.h
This commit is contained in:
parent
fa76d51941
commit
570014800a
|
@ -30,15 +30,6 @@
|
|||
#include "libs/sha1/sha1.h"
|
||||
#include "ast.h"
|
||||
|
||||
#include <sstream>
|
||||
#include <stdarg.h>
|
||||
|
||||
#if defined(__APPLE__)
|
||||
# include <cmath>
|
||||
#else
|
||||
# include <math.h>
|
||||
#endif
|
||||
|
||||
YOSYS_NAMESPACE_BEGIN
|
||||
|
||||
using namespace AST;
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
#include <initializer_list>
|
||||
#include <stdexcept>
|
||||
#include <memory>
|
||||
#include <cmath>
|
||||
|
||||
#include <sstream>
|
||||
#include <fstream>
|
||||
|
|
Loading…
Reference in New Issue