diff --git a/src/util/headerserializers/ipv6/headers/ip6.h b/src/util/headerserializers/ipv6/headers/ip6.h index e82b55c5ab7..bd4c0203c10 100644 --- a/src/util/headerserializers/ipv6/headers/ip6.h +++ b/src/util/headerserializers/ipv6/headers/ip6.h @@ -64,6 +64,15 @@ #ifndef _NETINET_IP6_H_ #define _NETINET_IP6_H_ +#if defined(_WIN32) +typedef uint8_t u_int8_t; +typedef uint16_t u_int16_t; +typedef uint32_t u_int32_t; +typedef uint8_t __uint8_t; +typedef uint16_t __uint16_t; +typedef uint32_t __uint32_t; +#endif + #ifndef __PACKED__ #ifdef _MSC_VER #define __PACKED__