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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/common/cgen-defs.h b/sim/common/cgen-defs.h
index b9e0c06..7bf1334 100644
--- a/sim/common/cgen-defs.h
+++ b/sim/common/cgen-defs.h
@@ -20,6 +20,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#ifndef CGEN_DEFS_H
#define CGEN_DEFS_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)