summaryrefslogtreecommitdiff
path: root/src/resources/imagewriter.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-30 19:32:54 +0300
committerAndrei Karas <akaras@inbox.ru>2011-06-30 19:57:08 +0300
commit5c260f683e26529d7cf02c12c1fff70a7a7e5eb8 (patch)
tree5b36a813ae964b7b9d5709c6bbce6e1b68d64699 /src/resources/imagewriter.cpp
parenta7c7cc655f94acc4476e681ac258ff6981702944 (diff)
downloadplus-5c260f683e26529d7cf02c12c1fff70a7a7e5eb8.tar.gz
plus-5c260f683e26529d7cf02c12c1fff70a7a7e5eb8.tar.bz2
plus-5c260f683e26529d7cf02c12c1fff70a7a7e5eb8.tar.xz
plus-5c260f683e26529d7cf02c12c1fff70a7a7e5eb8.zip
Add some fixes for making manaplus on OpenBSD.
Based on patches by Jona (jaj)
Diffstat (limited to 'src/resources/imagewriter.cpp')
-rw-r--r--src/resources/imagewriter.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/imagewriter.cpp b/src/resources/imagewriter.cpp
index d068b9c02..5d0bd9d94 100644
--- a/src/resources/imagewriter.cpp
+++ b/src/resources/imagewriter.cpp
@@ -24,8 +24,13 @@
#include "log.h"
+#if defined __OpenBSD__
+#include <libpng/png.h>
+#include <SDL/SDL.h>
+#else
#include <png.h>
#include <SDL.h>
+#endif
#include <string>
#include "debug.h"