From c8bb2a35850be7c6eaec5ad5a2936a77f7913de2 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Tue, 21 Dec 2021 01:48:14 +0100 Subject: [PATCH] Add header guards to source files of FL/fl_config.h There are two "source files", one for configure and one for CMake, respectively. --- fl_config.cmake.in | 5 +++++ fl_config.in | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/fl_config.cmake.in b/fl_config.cmake.in index 3e321e9f7..1a83890dc 100644 --- a/fl_config.cmake.in +++ b/fl_config.cmake.in @@ -1,3 +1,4 @@ +/* FL/fl_config.h. Generated from fl_config.cmake.in by CMake. */ /* * Build configuration file for the Fast Light Tool Kit (FLTK). * @@ -14,6 +15,8 @@ * https://www.fltk.org/bugs.php */ +#ifndef _FL_fl_config_h_ +#define _FL_fl_config_h_ /* * FL_ABI_VERSION (ABI version): @@ -51,3 +54,5 @@ */ #cmakedefine FLTK_USE_X11 1 + +#endif /* _FL_fl_config_h_ */ diff --git a/fl_config.in b/fl_config.in index 5a2590111..477f91f28 100644 --- a/fl_config.in +++ b/fl_config.in @@ -14,6 +14,8 @@ * https://www.fltk.org/bugs.php */ +#ifndef _FL_fl_config_h_ +#define _FL_fl_config_h_ /* * FL_ABI_VERSION (ABI version) @@ -51,3 +53,5 @@ */ #undef FLTK_USE_X11 + +#endif /* _FL_fl_config_h_ */