foxygit / doom Log in
commit 3b350014c5ac11d1b61827590243df3e7ce3a288
Author:     Fabian Greffrath <fabian@greffrath.com>
AuthorDate: Mon Dec 29 08:35:15 2014 +0100
Commit:     Fabian Greffrath <fabian@greffrath.com>
CommitDate: Mon Dec 29 08:35:15 2014 +0100

    add missing includes for calling SHORT() in Heretic

    fixes #497
---
 src/heretic/in_lude.c | 1 +
 src/heretic/sb_bar.c  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/heretic/in_lude.c b/src/heretic/in_lude.c
index e6fc1b13..ed73e6ad 100644
--- a/src/heretic/in_lude.c
+++ b/src/heretic/in_lude.c
@@ -25,6 +25,7 @@
 #include "deh_str.h"
 #include "p_local.h"
 #include "s_sound.h"
+#include "i_swap.h"
 #include "i_system.h"
 #include "i_video.h"
 #include "v_video.h"
diff --git a/src/heretic/sb_bar.c b/src/heretic/sb_bar.c
index 894e0929..6392ab6c 100644
--- a/src/heretic/sb_bar.c
+++ b/src/heretic/sb_bar.c
@@ -19,6 +19,7 @@
 #include "doomdef.h"
 #include "deh_str.h"
 #include "i_video.h"
+#include "i_swap.h"
 #include "m_cheat.h"
 #include "m_misc.h"
 #include "m_random.h"