summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-12-29 21:53:04 +0000
committerOthmar Gsenger <otti@anytun.org>2008-12-29 21:53:04 +0000
commit21e5fff28dd0a4a859820e9bb6c45cfd1b569f0d (patch)
treea4bd5c98299a3cc560e7c292b1323999466838ba /src
parentadded endian.h (diff)
fixed windows endian include
Diffstat (limited to 'src')
-rw-r--r--src/anytun.vcproj12
-rw-r--r--src/endian.h6
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
@@ -256,6 +256,14 @@
>
</File>
<File
+ RelativePath=".\routingTree.hpp"
+ >
+ </File>
+ <File
+ RelativePath=".\routingTreeNode.h"
+ >
+ </File>
+ <File
RelativePath=".\rtpSession.h"
>
</File>
@@ -420,6 +428,10 @@
>
</File>
<File
+ RelativePath=".\routingTreeNode.cpp"
+ >
+ </File>
+ <File
RelativePath=".\rtpSession.cpp"
>
</File>
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 <http://www.gnu.org/licenses/>.
*/
-#ifndef _ENDIAN_HPP_
-#define _ENDIAN_HPP_
+#ifndef _ENDIAN_H_
+#define _ENDIAN_H_
#ifndef _WIN32
#include <arpa/inet.h>
+#else
+#include <Winsock2.h>
#endif
#define SEQ_NR_T_NTOH(a) ntohl(a)