shithub: choc

Download patch

ref: c8ef0c4a75b12d1c35f9a6994bdca36aa8897055
parent: f871c15bea3485677c0db3679d0d968107a6c2a7
author: Simon Howard <fraggle@gmail.com>
date: Mon Dec 1 17:13:53 EST 2008

Add missing header includes.

Subversion-branch: /branches/raven-branch
Subversion-revision: 1398

--- a/src/i_pcsound.c
+++ b/src/i_pcsound.c
@@ -24,6 +24,7 @@
 //-----------------------------------------------------------------------------
 
 #include "SDL.h"
+#include <string.h>
 
 #include "doomtype.h"
 
--- a/src/i_sdlmusic.c
+++ b/src/i_sdlmusic.c
@@ -27,6 +27,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include "SDL.h"
 #include "SDL_mixer.h"
 
--- a/src/i_sdlsound.c
+++ b/src/i_sdlsound.c
@@ -30,6 +30,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <assert.h>
 #include "SDL.h"
 #include "SDL_mixer.h"
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -29,6 +29,7 @@
 #include <stdlib.h>
 #include <ctype.h>
 #include <math.h>
+#include <string.h>
 
 #include "icon.c"
 
--- a/src/i_videohr.c
+++ b/src/i_videohr.c
@@ -25,6 +25,7 @@
 //-----------------------------------------------------------------------------
 
 #include "SDL.h"
+#include "string.h"
 
 #include "doomtype.h"
 #include "i_timer.h"
--- a/src/m_misc.c
+++ b/src/m_misc.c
@@ -28,6 +28,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <ctype.h>
 #include <errno.h>
 
--- a/src/setup/display.c
+++ b/src/setup/display.c
@@ -19,6 +19,7 @@
 // 02111-1307, USA.
 //
 
+#include <stdlib.h>
 #include <string.h>
 
 #include "textscreen.h"
--- a/src/setup/mainmenu.c
+++ b/src/setup/mainmenu.c
@@ -20,6 +20,7 @@
 //
 
 #include <stdlib.h>
+#include <string.h>
 
 #include "config.h"
 #include "textscreen.h"
--- a/src/v_video.c
+++ b/src/v_video.c
@@ -28,6 +28,7 @@
 //-----------------------------------------------------------------------------
 
 #include <stdio.h>
+#include <string.h>
 
 #include "i_system.h"