KDB: Fix duplicated include guard
* @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
*/
-#ifndef ELEKTRA_KDB_IO_HPP
-#define ELEKTRA_KDB_IO_HPP
+#ifndef ELEKTRA_COLOREDKDB_IO_HPP
+#define ELEKTRA_COLOREDKDB_IO_HPP
/*
* @brief See examples/cpp_example_userio.cpp for how to use
*/
#define USER_DEFINED_IO
+/* Do not include `keyio.hpp` and `keysetio.hpp` */
+#ifndef ELEKTRA_KDB_IO_HPP
+#define ELEKTRA_KDB_IO_HPP
+
#include "ansicolors.hpp"
#include <key.hpp>
@@ -113,3 +117,4 @@ inline std::ostream & printWarnings (std::ostream & os, kdb::Key const & error)
} // namespace kdb
#endif
+#endif
