From 21e5fff28dd0a4a859820e9bb6c45cfd1b569f0d Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Mon, 29 Dec 2008 21:53:04 +0000 Subject: fixed windows endian include --- src/anytun.vcproj | 12 ++++++++++++ src/endian.h | 6 ++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/anytun.vcproj b/src/anytun.vcproj index 0c049f0..44973c8 100644 --- a/src/anytun.vcproj +++ b/src/anytun.vcproj @@ -255,6 +255,14 @@ RelativePath=".\routingTable.h" > + + + + @@ -419,6 +427,10 @@ RelativePath=".\routingTable.cpp" > + + diff --git a/src/endian.h b/src/endian.h index a5ad2f9..b4cc995 100644 --- a/src/endian.h +++ b/src/endian.h @@ -29,11 +29,13 @@ * along with anytun. If not, see . */ -#ifndef _ENDIAN_HPP_ -#define _ENDIAN_HPP_ +#ifndef _ENDIAN_H_ +#define _ENDIAN_H_ #ifndef _WIN32 #include +#else +#include #endif #define SEQ_NR_T_NTOH(a) ntohl(a) -- cgit v1.2.3