foxygit / doom Log in
commit c8ef0c4a75b12d1c35f9a6994bdca36aa8897055
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Mon Dec 1 22:13:53 2008 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Mon Dec 1 22:13:53 2008 +0000

    Add missing header includes.

    Subversion-branch: /branches/raven-branch
    Subversion-revision: 1398
---
 src/i_pcsound.c      | 1 +
 src/i_sdlmusic.c     | 1 +
 src/i_sdlsound.c     | 1 +
 src/i_video.c        | 1 +
 src/i_videohr.c      | 1 +
 src/m_misc.c         | 1 +
 src/setup/display.c  | 1 +
 src/setup/mainmenu.c | 1 +
 src/v_video.c        | 1 +
 9 files changed, 9 insertions(+)

diff --git a/src/i_pcsound.c b/src/i_pcsound.c
index 7f8e8996..36d4873e 100644
--- a/src/i_pcsound.c
+++ b/src/i_pcsound.c
@@ -24,6 +24,7 @@
 //-----------------------------------------------------------------------------

 #include "SDL.h"
+#include <string.h>

 #include "doomtype.h"

diff --git a/src/i_sdlmusic.c b/src/i_sdlmusic.c
index e2086598..602fd17b 100644
--- 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"

diff --git a/src/i_sdlsound.c b/src/i_sdlsound.c
index c4261751..ff0ef10e 100644
--- 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"
diff --git a/src/i_video.c b/src/i_video.c
index c87e152d..39aedc0c 100644
--- 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"

diff --git a/src/i_videohr.c b/src/i_videohr.c
index e7fe7147..f1a7e5f7 100644
--- 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"
diff --git a/src/m_misc.c b/src/m_misc.c
index fcae590a..4f3becfb 100644
--- 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>

diff --git a/src/setup/display.c b/src/setup/display.c
index 956ab6a0..ce576795 100644
--- 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"
diff --git a/src/setup/mainmenu.c b/src/setup/mainmenu.c
index af5e65c1..83e4c352 100644
--- 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"
diff --git a/src/v_video.c b/src/v_video.c
index 3aeb08e4..6549a81b 100644
--- a/src/v_video.c
+++ b/src/v_video.c
@@ -28,6 +28,7 @@
 //-----------------------------------------------------------------------------

 #include <stdio.h>
+#include <string.h>

 #include "i_system.h"