1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 21:57:35 +00:00

More random compat hacking towards getting bash to build.

I'm now at the build stage where it complains about a bajillion missing
symbols. This is a good place to be!
This commit is contained in:
Andreas Kling 2018-11-05 18:16:00 +01:00
parent e76312ab63
commit 82f84bab11
15 changed files with 306 additions and 8 deletions

View file

@ -13,16 +13,17 @@ struct dirent {
char d_name[256];
};
struct DIR {
struct __DIR {
int fd;
dirent cur_ent;
struct dirent cur_ent;
char* buffer;
size_t buffer_size;
char* nextptr;
};
typedef struct __DIR DIR;
DIR* opendir(const char* name);
dirent* readdir(DIR* dirp);
struct dirent* readdir(DIR* dirp);
__END_DECLS