aboutsummaryrefslogtreecommitdiff
path: root/sim/common/cgen-defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/cgen-defs.h')
-rw-r--r--sim/common/cgen-defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/common/cgen-defs.h b/sim/common/cgen-defs.h
index b9e0c06..ff01705 100644
--- a/sim/common/cgen-defs.h
+++ b/sim/common/cgen-defs.h
@@ -20,6 +20,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#ifndef CGEN_DEFS_H
#define CGEN_DEFS_H
+#include "opcode/cgen.h"
+#include "cgen-types.h"
+
/* Compute number of longs required to hold N bits. */
#define HOST_LONGS_FOR_BITS(n) \
(((n) + sizeof (long) * 8 - 1) / sizeof (long) * 8)