summaryrefslogtreecommitdiff
path: root/src/resources/imagewriter.cpp
diff options
context:
space:
mode:
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"