diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-06-30 19:32:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-06-30 19:57:08 +0300 |
commit | 5c260f683e26529d7cf02c12c1fff70a7a7e5eb8 (patch) | |
tree | 5b36a813ae964b7b9d5709c6bbce6e1b68d64699 /src/resources | |
parent | a7c7cc655f94acc4476e681ac258ff6981702944 (diff) | |
download | manaverse-5c260f683e26529d7cf02c12c1fff70a7a7e5eb8.tar.gz manaverse-5c260f683e26529d7cf02c12c1fff70a7a7e5eb8.tar.bz2 manaverse-5c260f683e26529d7cf02c12c1fff70a7a7e5eb8.tar.xz manaverse-5c260f683e26529d7cf02c12c1fff70a7a7e5eb8.zip |
Add some fixes for making manaplus on OpenBSD.
Based on patches by Jona (jaj)
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/imagewriter.cpp | 5 |
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" |