Improved compatibility with other Unix systems.

This commit is contained in:
Philip Homburg
2005-06-10 15:12:03 +00:00
parent d9b609c70f
commit dc23e18cef
27 changed files with 659 additions and 17 deletions

21
include/netinet/in.h Normal file
View 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 */