mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:47:44 +00:00
LibC: First pass of compat work / stubs while trying to build OpenSSL.
This commit is contained in:
parent
08228f34b9
commit
4aef87a9a4
5 changed files with 57 additions and 6 deletions
|
@ -16,4 +16,13 @@ struct hostent {
|
|||
|
||||
struct hostent *gethostbyname(const char*);
|
||||
|
||||
struct servent {
|
||||
char* s_name;
|
||||
char** s_aliases;
|
||||
int s_port;
|
||||
char* s_proto;
|
||||
};
|
||||
|
||||
struct servent* getservbyname(const char* name, const char* protocol);
|
||||
|
||||
__END_DECLS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue