Include <sys/mount.h> in decl_headers 67/290367/1 submit/tizen/20230428.093600
authorŁukasz Stelmach <l.stelmach@samsung.com>
Thu, 23 Mar 2023 21:15:04 +0000 (22:15 +0100)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Thu, 23 Mar 2023 21:24:19 +0000 (22:24 +0100)
To properly decide whetehr to include <linux/fs.h> or not <sys/mount.h>
needs to be included too.

Change-Id: I897ad9cffd24f10fbfeda244101f3048239cfaac
Fixes: cbe32a421e ("glibc: Remove #include <linux/fs.h> to resolve fsconfig_command/mount_attr conflict with glibc 2.36")
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
meson.build

index f220038..3740cf0 100644 (file)
@@ -459,6 +459,7 @@ conf.set('SIZEOF_RLIM_T', cc.sizeof('rlim_t', prefix : '#include <sys/resource.h
 
 decl_headers = '''
 #include <uchar.h>
+#include <sys/mount.h>
 #include <sys/stat.h>
 '''