shithub: choc

Download patch

ref: 3b350014c5ac11d1b61827590243df3e7ce3a288
parent: d54947a8c7d66436caa40bca3c95eab714903ea8
author: Fabian Greffrath <fabian@greffrath.com>
date: Mon Dec 29 03:35:15 EST 2014

add missing includes for calling SHORT() in Heretic

fixes #497

--- 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"
--- 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"