Signed-off-by: Roman Lebedev <[email protected]>
---
apps/lenstool/lenstool.cpp | 1 +
include/lensfun/config.h.in.cmake | 7 ++++++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/apps/lenstool/lenstool.cpp b/apps/lenstool/lenstool.cpp
index 0aab056..8d91269 100644
--- a/apps/lenstool/lenstool.cpp
+++ b/apps/lenstool/lenstool.cpp
@@ -2,6 +2,7 @@
Test for library image modificator object.
*/
+#include "config.h"
#include <glib.h>
#include <locale.h>
diff --git a/include/lensfun/config.h.in.cmake
b/include/lensfun/config.h.in.cmake
index b0afa38..9eaba1a 100644
--- a/include/lensfun/config.h.in.cmake
+++ b/include/lensfun/config.h.in.cmake
@@ -1,4 +1,7 @@
-/* config file for Lensfun library
+#ifndef __CONFIG_H__
+#define __CONFIG_H__
+
+/* config file for Lensfun library
generated by CMake
*/
@@ -39,3 +42,5 @@
// to avoid usage of API that is not in GLIB_VERSION_MIN_REQUIRED version
// and make it easy to detect when to bump requirements:
#define GLIB_VERSION_MAX_ALLOWED (GLIB_VERSION_MIN_REQUIRED)
+
+#endif // __CONFIG_H__
--
2.6.1
------------------------------------------------------------------------------
Full-scale, agent-less Infrastructure Monitoring from a single dashboard
Integrate with 40+ ManageEngine ITSM Solutions for complete visibility
Physical-Virtual-Cloud Infrastructure monitoring from one console
Real user monitoring with APM Insights and performance trend reports
Learn More http://pubads.g.doubleclick.net/gampad/clk?id=247754911&iu=/4140
_______________________________________________
Lensfun-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lensfun-users