summaryrefslogtreecommitdiffstats
path: root/libkdcraw/libraw/samples/dcraw_emu.cpp
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2021-08-17 13:06:41 +0200
committergregory guy <gregory-tde@laposte.net>2021-08-25 15:21:30 +0200
commit2e4e81b25e17309dadfcbce6cda68a0bf9516305 (patch)
treeb14a6e254ed2604ee16bf6fce6ed816a81f0bc29 /libkdcraw/libraw/samples/dcraw_emu.cpp
parentc995c0ed60652f38c8523d1a7ddef4c255afc913 (diff)
downloadlibkdcraw-2e4e81b25e17309dadfcbce6cda68a0bf9516305.tar.gz
libkdcraw-2e4e81b25e17309dadfcbce6cda68a0bf9516305.zip
Conversion to the cmake building system.
Signed-off-by: gregory guy <gregory-tde@laposte.net> some fixes and improvements. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'libkdcraw/libraw/samples/dcraw_emu.cpp')
-rw-r--r--libkdcraw/libraw/samples/dcraw_emu.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/libkdcraw/libraw/samples/dcraw_emu.cpp b/libkdcraw/libraw/samples/dcraw_emu.cpp
index bf82efa..f882805 100644
--- a/libkdcraw/libraw/samples/dcraw_emu.cpp
+++ b/libkdcraw/libraw/samples/dcraw_emu.cpp
@@ -20,6 +20,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
@@ -37,6 +41,9 @@
#define snprintf _snprintf
#endif
+#ifdef _OPENMP
+#include <omp.h>
+#endif
void usage(const char *prog)
{