File tree 1 file changed +8
-2
lines changed 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,8 @@ module posix_filesystem [system] {
178
178
}
179
179
explicit module fcntl {
180
180
header "fcntl.h"
181
- export *
181
+ // Note: Do not re-export imported modules
182
+ // to prevent exporting constants from linux/stat.h .
182
183
}
183
184
explicit module fnmatch {
184
185
header "fnmatch.h"
@@ -228,6 +229,10 @@ module posix_filesystem [system] {
228
229
header "bits/ioctl.h"
229
230
export *
230
231
}
232
+ explicit module linux_stat {
233
+ private header "linux/stat.h"
234
+ export *
235
+ }
231
236
explicit module sys_epoll {
232
237
header "sys/epoll.h"
233
238
export *
@@ -262,7 +267,8 @@ module posix_filesystem [system] {
262
267
}
263
268
explicit module sys_stat {
264
269
header "sys/stat.h"
265
- export *
270
+ // Note: Do not re-export imported modules
271
+ // to prevent exporting constants from linux/stat.h .
266
272
}
267
273
explicit module sys_statvfs {
268
274
header "sys/statvfs.h"
You can’t perform that action at this time.
0 commit comments