The macro FILEMODE_H_ is not defined anywhere. The purpose of testing it
in filemode.h was therefore most probably a double-inclusion guard.


2023-04-14  Bruno Haible  <br...@clisp.org>

        filemode: Fix double-inclusion guard.
        * lib/filemode.h: Make the double-inclusion guard actually work.

diff --git a/lib/filemode.h b/lib/filemode.h
index 51e10053d2..3e1d9903ea 100644
--- a/lib/filemode.h
+++ b/lib/filemode.h
@@ -17,6 +17,7 @@
    along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
 
 #ifndef FILEMODE_H_
+# define FILEMODE_H_
 
 /* This file uses HAVE_DECL_STRMODE.  */
 # if !_GL_CONFIG_H_INCLUDED




Reply via email to