(svn r10365) -Fix: compiling without png and networking support under MSVC.

This commit is contained in:
rubidium
2007-06-27 22:26:27 +00:00
parent cd0e022172
commit daafda6f62
2 changed files with 7 additions and 2 deletions

View File

@@ -2,6 +2,8 @@
/** @file grf.cpp */
#ifdef WITH_PNG
#include "../stdafx.h"
#include "../gfx.h"
#include "../fileio.h"
@@ -184,3 +186,5 @@ bool SpriteLoaderPNG::LoadSprite(SpriteLoader::Sprite *sprite, const char *filen
if (!LoadPNG(sprite, filename, file_pos, true)) return false;
return true;
}
#endif /* WITH_PNG */