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:
parent
e76312ab63
commit
82f84bab11
15 changed files with 306 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue