diff options
author | Ron Yorston <rmy@pobox.com> | 2022-12-22 11:38:39 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2022-12-22 11:38:39 +0000 |
commit | 67aec6403c80b8956b8b0f78f58e2b9664bd4f62 (patch) | |
tree | 533c9ee833b166a5db032413f5e58cd784287ae9 /win32/dirent.h | |
parent | b11352dcbdd94e23224057056594ddc165883c19 (diff) | |
download | busybox-w32-67aec6403c80b8956b8b0f78f58e2b9664bd4f62.tar.gz busybox-w32-67aec6403c80b8956b8b0f78f58e2b9664bd4f62.tar.bz2 busybox-w32-67aec6403c80b8956b8b0f78f58e2b9664bd4f62.zip |
win32: always allow d_type member of struct dirent
The d_type member of struct dirent is required by the implementation
of glob(3). As a result it isn't possible to build the make applet
unless FEATURE_EXTRA_FILE_DATA is configured.
Allow d_type unconditionally.
Diffstat (limited to 'win32/dirent.h')
-rw-r--r-- | win32/dirent.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/win32/dirent.h b/win32/dirent.h index 214f80547..4e7971ef6 100644 --- a/win32/dirent.h +++ b/win32/dirent.h | |||
@@ -9,9 +9,7 @@ typedef struct DIR DIR; | |||
9 | #define DT_LNK 3 | 9 | #define DT_LNK 3 |
10 | 10 | ||
11 | struct dirent { | 11 | struct dirent { |
12 | #if ENABLE_FEATURE_EXTRA_FILE_DATA | ||
13 | unsigned char d_type; | 12 | unsigned char d_type; |
14 | #endif | ||
15 | char d_name[PATH_MAX]; // file name | 13 | char d_name[PATH_MAX]; // file name |
16 | }; | 14 | }; |
17 | 15 | ||