From 17d0fb9963d9d02ea7d6fc8b52631d7ae6705cd6 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Sun, 1 Jan 2012 21:57:13 +0100 Subject: [PATCH] Add include guards. --- src/config-keepassx.h.cmake | 5 +++++ tests/config-keepassx-tests.h.cmake | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/config-keepassx.h.cmake b/src/config-keepassx.h.cmake index 21be30be5..298edef84 100644 --- a/src/config-keepassx.h.cmake +++ b/src/config-keepassx.h.cmake @@ -1,5 +1,10 @@ /* config-keepassx.h. Generated by cmake from config-keepassx.h.cmake */ +#ifndef KEEPASSX_CONFIG_H +#define KEEPASSX_CONFIG_H + #define KEEPASSX_VERSION "${KEEPASSX_VERSION}" #define KEEPASSX_SOURCE_DIR "${CMAKE_SOURCE_DIR}" + +#endif // KEEPASSX_CONFIG_H diff --git a/tests/config-keepassx-tests.h.cmake b/tests/config-keepassx-tests.h.cmake index 405362d95..b515f5c5f 100644 --- a/tests/config-keepassx-tests.h.cmake +++ b/tests/config-keepassx-tests.h.cmake @@ -1,3 +1,8 @@ /* config-keepassx-tests.h. Generated by cmake from config-keepassx-tests.h.cmake */ +#ifndef KEEPASSX_CONFIG_TESTS_H +#define KEEPASSX_CONFIG_TESTS_H + #define KEEPASSX_TEST_DATA_DIR "${KEEPASSX_TEST_DATA_DIR}" + +#endif // KEEPASSX_CONFIG_TESTS_H