From e663bc4564a0e56de8693f63cd46ffd46c444ec4 Mon Sep 17 00:00:00 2001 From: gewlitys Date: Sat, 30 Aug 2008 14:08:02 +0000 Subject: [PATCH] Some includes added to avoid calling functions w/o prototypes. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3056 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/getopt/getopt.c | 1 + sc2/src/sc2code/libs/resource/resinit.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/sc2/src/getopt/getopt.c b/sc2/src/getopt/getopt.c index 4d933a741..271f6346e 100644 --- a/sc2/src/getopt/getopt.c +++ b/sc2/src/getopt/getopt.c @@ -28,6 +28,7 @@ #endif #include +#include #ifndef HAVE_GETOPT_LONG #if !defined __STDC__ || !__STDC__ diff --git a/sc2/src/sc2code/libs/resource/resinit.c b/sc2/src/sc2code/libs/resource/resinit.c index a0391f96f..2658750ad 100644 --- a/sc2/src/sc2code/libs/resource/resinit.c +++ b/sc2/src/sc2code/libs/resource/resinit.c @@ -22,6 +22,9 @@ #include "nameref.h" #include "types.h" #include "libs/log.h" +#include "libs/gfxlib.h" +#include "libs/sndlib.h" +#include "coderes.h" #include "propfile.h" #include #include