diff --git a/expected/wasm32-wasi/predefined-macros.txt b/expected/wasm32-wasi/predefined-macros.txt index 1d6ea06..77b965a 100644 --- a/expected/wasm32-wasi/predefined-macros.txt +++ b/expected/wasm32-wasi/predefined-macros.txt @@ -2079,8 +2079,6 @@ #define _CTYPE_H #define _Complex_I (0.0f+1.0fi) #define _DIRENT_H -#define _DIRENT_HAVE_D_OFF -#define _DIRENT_HAVE_D_RECLEN #define _DIRENT_HAVE_D_TYPE #define _ENDIAN_H #define _ERRNO_H diff --git a/libc-bottom-half/headers/public/__struct_dirent.h b/libc-bottom-half/headers/public/__struct_dirent.h index 1b734e8..9d2ece8 100644 --- a/libc-bottom-half/headers/public/__struct_dirent.h +++ b/libc-bottom-half/headers/public/__struct_dirent.h @@ -3,6 +3,8 @@ #include <__typedef_ino_t.h> +#define _DIRENT_HAVE_D_TYPE + struct dirent { ino_t d_ino; unsigned char d_type;