aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiesh1oo <siesh1oo@siesh1oo.no>2014-03-10 14:35:46 +0100
committerSiesh1oo <siesh1oo@siesh1oo.no>2014-03-10 14:35:46 +0100
commit9b3d83359cc3f55049b5a48cb736a9a43bf04afc (patch)
treee0baa95395e4a3ac3f359ab15d9393b0d8ae5998
parent78c64a64017dbc3e15aeac3246d5fc159555fbe2 (diff)
downloadyosys-9b3d83359cc3f55049b5a48cb736a9a43bf04afc.tar.gz
yosys-9b3d83359cc3f55049b5a48cb736a9a43bf04afc.tar.bz2
yosys-9b3d83359cc3f55049b5a48cb736a9a43bf04afc.zip
- passes/techmap/dfflibmap.cc, passes/fsm/fsm_recode.cc, passes/cmds/select.cc: #include <cerrno> for errno, use c++-style includes.
-rw-r--r--passes/cmds/select.cc1
-rw-r--r--passes/fsm/fsm_recode.cc3
-rw-r--r--passes/techmap/dfflibmap.cc1
3 files changed, 4 insertions, 1 deletions
diff --git a/passes/cmds/select.cc b/passes/cmds/select.cc
index 3a886b1c8..59f936b01 100644
--- a/passes/cmds/select.cc
+++ b/passes/cmds/select.cc
@@ -23,6 +23,7 @@
#include "kernel/log.h"
#include <string.h>
#include <fnmatch.h>
+#include <errno.h>
using RTLIL::id2cstr;
diff --git a/passes/fsm/fsm_recode.cc b/passes/fsm/fsm_recode.cc
index 5a4e091cf..b02287962 100644
--- a/passes/fsm/fsm_recode.cc
+++ b/passes/fsm/fsm_recode.cc
@@ -23,8 +23,9 @@
#include "kernel/consteval.h"
#include "kernel/celltypes.h"
#include "fsmdata.h"
-#include "math.h"
+#include <math.h>
#include <string.h>
+#include <errno.h>
static void fm_set_fsm_print(RTLIL::Cell *cell, RTLIL::Module *module, FsmData &fsm_data, const char *prefix, FILE *f)
{
diff --git a/passes/techmap/dfflibmap.cc b/passes/techmap/dfflibmap.cc
index fd5fa86e1..4bf73358b 100644
--- a/passes/techmap/dfflibmap.cc
+++ b/passes/techmap/dfflibmap.cc
@@ -21,6 +21,7 @@
#include "kernel/log.h"
#include "libparse.h"
#include <string.h>
+#include <errno.h>
using namespace PASS_DFFLIBMAP;