summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--saveload.c1
-rw-r--r--saveload.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/saveload.c b/saveload.c
index 8cce68d44..8ae995959 100644
--- a/saveload.c
+++ b/saveload.c
@@ -26,6 +26,7 @@
#include "player.h"
#include "saveload.h"
#include "variables.h"
+#include <setjmp.h>
enum {
SAVEGAME_MAJOR_VERSION = 16,
diff --git a/saveload.h b/saveload.h
index f6e053be8..5dd6888a9 100644
--- a/saveload.h
+++ b/saveload.h
@@ -3,8 +3,6 @@
#ifndef SAVELOAD_H
#define SAVELOAD_H
-#include <setjmp.h>
-
typedef enum SaveOrLoadResult {
SL_OK = 0, // completed successfully
SL_ERROR = 1, // error that was caught before internal structures were modified