Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-12-21 15:23:16 +0000
committerStijn Buys <ingar@osirion.org>2008-12-21 15:23:16 +0000
commit7d06239dcc150a7bd2521972ee680fd2c9003580 (patch)
tree777070bc639132c12418b33002e3159f7415152f /src/render/jpgfile.cc
parent7857210368178b26b8f863a296094518aaff5174 (diff)
win32 build updates
Diffstat (limited to 'src/render/jpgfile.cc')
-rw-r--r--src/render/jpgfile.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/render/jpgfile.cc b/src/render/jpgfile.cc
index 872233f..7713a07 100644
--- a/src/render/jpgfile.cc
+++ b/src/render/jpgfile.cc
@@ -18,6 +18,12 @@ http://www.zarb.org/~gc/html/libpng.html
#include "render/jpgfile.h"
#include "sys/sys.h"
+// work around for the win32 build
+#ifdef _WIN32
+#ifdef HAVE_STDLIB_H
+#undef HAVE_STDLIB_H
+#endif
+#endif
extern "C" {
#include "jpeglib.h"
}