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:
Gunnar Beutner 2021-04-10 14:33:18 +02:00 committed by Andreas Kling
parent f43f4a16e7
commit fe8b1a732e
Notes: sideshowbarker 2024-07-18 20:33:39 +09:00

View file

@ -27,6 +27,8 @@
#pragma once
#include <endian.h>
#include <inttypes.h>
#include <netinet/in.h>
#include <sys/cdefs.h>
#include <sys/socket.h>