Skip to content

Commit

Permalink
build: fix build error on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
rhornig committed Mar 31, 2014
1 parent b6fe20a commit a6be141
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/util/headerserializers/ipv6/headers/ip6.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__
Expand Down

0 comments on commit a6be141

Please sign in to comment.