瀏覽代碼

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.
Gunnar Beutner 4 年之前
父節點
當前提交
fe8b1a732e
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Userland/Libraries/LibC/arpa/inet.h

+ 2 - 0
Userland/Libraries/LibC/arpa/inet.h

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