aboutsummaryrefslogtreecommitdiff
path: root/sim/rx/mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/rx/mem.c')
-rw-r--r--sim/rx/mem.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sim/rx/mem.c b/sim/rx/mem.c
index 7e62bfb..f9b9cc1 100644
--- a/sim/rx/mem.c
+++ b/sim/rx/mem.c
@@ -18,6 +18,9 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+/* This must come before any other includes. */
+#include "defs.h"
+
/* This slows down the simulator and we get some false negatives from
gcc, like when it uses a long-sized hole to hold a byte-sized
variable, knowing that it doesn't care about the other bits. But,
@@ -25,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
1. */
#define RDCHECK 0
-#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>