diff options
author | tron <tron@openttd.org> | 2005-08-12 12:47:35 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-08-12 12:47:35 +0000 |
commit | d7eaf353571a9cf2797c69fda32546cc0daa66f1 (patch) | |
tree | 528ce5f2808de1bc082b7d48c0c6f447345d6331 | |
parent | bdff0fa2d2ac1b00ac9e03a48ff19c0d3ef6b032 (diff) | |
download | openttd-d7eaf353571a9cf2797c69fda32546cc0daa66f1.tar.xz |
(svn r2861) Move inclusion of setjmp.h into saveload.c, should've been part of r2819
-rw-r--r-- | saveload.c | 1 | ||||
-rw-r--r-- | saveload.h | 2 |
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 |