From: Bruno Haible Date: Sun, 25 May 2025 19:21:32 +0000 (+0200) Subject: selinux-h: Fix error with MSVC. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e08dafdf04be6929586d25bc1480618514f9065e;p=thirdparty%2Fgnulib.git selinux-h: Fix error with MSVC. * lib/se-selinux.in.h: Add comment. * modules/selinux-h (Depends-on): Add sys_types-h. --- diff --git a/ChangeLog b/ChangeLog index d42ae4954b..e9c55ad680 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2025-05-25 Bruno Haible + + selinux-h: Fix error with MSVC. + * lib/se-selinux.in.h: Add comment. + * modules/selinux-h (Depends-on): Add sys_types-h. + 2025-05-25 Bruno Haible fcntl-h, unistd-h: Fix errors in C++ mode with MSVC. diff --git a/lib/se-selinux.in.h b/lib/se-selinux.in.h index 492b239bbb..6ddd273b2a 100644 --- a/lib/se-selinux.in.h +++ b/lib/se-selinux.in.h @@ -33,7 +33,7 @@ # error "Please include config.h first." # endif -# include +# include /* for mode_t */ # include _GL_INLINE_HEADER_BEGIN diff --git a/modules/selinux-h b/modules/selinux-h index 2a6074daf3..ae5841e0ef 100644 --- a/modules/selinux-h +++ b/modules/selinux-h @@ -15,6 +15,7 @@ m4/selinux-selinux-h.m4 Depends-on: errno-h +sys_types-h extern-inline gen-header