shithub: duke3d

Download patch

ref: 392f9a788e71ef93906dffa78ee61854a1a664bc
parent: 6086876239945c2b232b2af305c6dbee2a34b03c
author: Marshall Banana <djcj@gmx.de>
date: Wed Apr 29 02:40:32 EDT 2015

Avoid ambiguous types.h includes, remove redundant build.h include

--- a/Game/src/cvar_defs.c
+++ b/Game/src/cvar_defs.c
@@ -5,7 +5,7 @@
 #include "console.h"
 
 // Required for certain cvars
-#include "types.h"
+#include "../../Game/src/types.h"
 #include "build.h"
 #include "funct.h"
 
--- a/Game/src/duke3d.h
+++ b/Game/src/duke3d.h
@@ -84,7 +84,6 @@
 #include "SDL_mixer.h"
 #endif
 
-#include "build.h"
 #include "function.h"
 
 //  FIX_00022: Automatically recognize the shareware grp (v1.3) + full version (1.3d) +
@@ -159,7 +158,7 @@
 
 struct player_struct;
 
-#include "types.h"
+#include "../../Game/src/types.h"
 #include "file_lib.h"
 #include "develop.h"
 #include "gamedefs.h"
--- a/Game/src/sounds.c
+++ b/Game/src/sounds.c
@@ -30,7 +30,7 @@
 
 #include <stdio.h>
 #include <string.h>
-#include "types.h"
+#include "../../Game/src/types.h"
 #include "util_lib.h"
 #include "duke3d.h"
 #include "global.h"