Include <cmath> in yosys.h

This commit is contained in:
Clifford Wolf 2016-05-08 10:50:39 +02:00
parent fa76d51941
commit 570014800a
2 changed files with 1 additions and 9 deletions

View File

@ -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;

View File

@ -51,6 +51,7 @@
#include <initializer_list>
#include <stdexcept>
#include <memory>
#include <cmath>
#include <sstream>
#include <fstream>