From e704a203673652fc1f7e949197f478c1fd85c0b5 Mon Sep 17 00:00:00 2001 From: shatty Date: Sat, 2 Aug 2003 05:12:35 +0000 Subject: [PATCH] posix files get posix types git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4195 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/netinet/in_systm.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/headers/posix/netinet/in_systm.h b/headers/posix/netinet/in_systm.h index e8ea6cda47..f74af50fac 100644 --- a/headers/posix/netinet/in_systm.h +++ b/headers/posix/netinet/in_systm.h @@ -36,6 +36,7 @@ #ifndef NETINET_IN_SYSTM_H #define NETINET_IN_SYSTM_H +#include /* * Miscellaneous internetwork * definitions for kernel. @@ -49,12 +50,12 @@ * the bytes before transmission at each protocol level. The n_ types * represent the types with the bytes in ``high-ender'' order. */ -typedef uint16 n_short; /* short as received from the net */ -typedef uint32 n_long; /* long as received from the net */ +typedef uint16_t n_short; /* short as received from the net */ +typedef uint32_t n_long; /* long as received from the net */ -typedef uint32 n_time; /* ms since 00:00 GMT, byte rev */ +typedef uint32_t n_time; /* ms since 00:00 GMT, byte rev */ -#define iptime() (htonl((uint32)real_time_clock_usecs())) +#define iptime() (htonl((uint32_t)real_time_clock_usecs())) #endif /* NETINET_IN_SYSTM_H */