digikam/0001-fix-compile-DNG-SDK-with-GCC13.patch

26 lines
731 B
Diff

From f7bad0e9c979a5d700aababa37eac3633d52816b Mon Sep 17 00:00:00 2001
From: Maik Qualmann <metzpinguin@gmail.com>
Date: Sun, 26 Mar 2023 13:19:40 +0200
Subject: [PATCH] fix compile DNG-SDK with GCC13
---
core/libs/dngwriter/extra/dng_sdk/dng_string.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/libs/dngwriter/extra/dng_sdk/dng_string.cpp b/core/libs/dngwriter/extra/dng_sdk/dng_string.cpp
index fa58711..dbd7e17 100644
--- a/core/libs/dngwriter/extra/dng_sdk/dng_string.cpp
+++ b/core/libs/dngwriter/extra/dng_sdk/dng_string.cpp
@@ -23,7 +23,7 @@
#include <windows.h>
#endif
-#if qiPhone || qAndroid
+#if qLinux || qiPhone || qAndroid
#include <ctype.h> // for isdigit
#endif
--
2.40.0