LibC: Include additional headers in <arpa/inet.h>
According to the Single UNIX Specification, Version 2 the <arpa/inet.h> header may optionally include <netinet/in.h> and <inttypes.h>. This helps with porting software like c-ray that expects this to be the case.
This commit is contained in:
parent
f43f4a16e7
commit
fe8b1a732e
Notes:
sideshowbarker
2024-07-18 20:33:39 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/fe8b1a732ee Pull-request: https://github.com/SerenityOS/serenity/pull/6217
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,8 @@
|
|||
#pragma once
|
||||
|
||||
#include <endian.h>
|
||||
#include <inttypes.h>
|
||||
#include <netinet/in.h>
|
||||
#include <sys/cdefs.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue