Improved compatibility with other Unix systems.
This commit is contained in:
21
include/netinet/in.h
Normal file
21
include/netinet/in.h
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
netinet/in.h
|
||||
*/
|
||||
|
||||
#ifndef _NETINET__IN_H
|
||||
#define _NETINET__IN_H
|
||||
|
||||
/* Can we include <stdint.h> here or do we need an additional header that is
|
||||
* safe to include?
|
||||
*/
|
||||
#include <stdint.h>
|
||||
|
||||
/* Open Group Base Specifications Issue 6 (not complete) */
|
||||
typedef uint32_t in_addr_t;
|
||||
|
||||
struct in_addr
|
||||
{
|
||||
in_addr_t s_addr;
|
||||
};
|
||||
|
||||
#endif /* _NETINET__IN_H */
|
||||
Reference in New Issue
Block a user