LibC: Include stdint.h instead of inttypes.h in network headers
This commit is contained in:
parent
8e9c40caa4
commit
8c598a6902
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#define INET_ADDRSTRLEN 16
|
#define INET_ADDRSTRLEN 16
|
||||||
#define INET6_ADDRSTRLEN 46
|
#define INET6_ADDRSTRLEN 46
|
||||||
|
|
|
@ -9,7 +9,6 @@ __BEGIN_DECLS
|
||||||
|
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <inttypes.h>
|
|
||||||
|
|
||||||
#define IPPORT_RESERVED 1024
|
#define IPPORT_RESERVED 1024
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue