- Fix for Win32 fixing Victor's fix for *nix.
authorarno <arno@e16421f0-f15b-0410-abcd-98678b794739>
Wed, 11 Nov 2009 15:55:41 +0000 (15:55 +0000)
committerarno <arno@e16421f0-f15b-0410-abcd-98678b794739>
Wed, 11 Nov 2009 15:55:41 +0000 (15:55 +0000)
git-svn-id: https://ttuki.vtt.fi/svn/p2p-next/TUD/p2tp/trunk@538 e16421f0-f15b-0410-abcd-98678b794739

compat.h
hashtree.cpp

index 19f9349..39c8808 100644 (file)
--- a/compat.h
+++ b/compat.h
@@ -17,6 +17,7 @@
 #ifdef _WIN32
 #include <winsock2.h>
 #include <sys/stat.h>
+#include <io.h>
 #else
 #include <sys/mman.h>
 #endif
index 9665cff..bfb4b28 100644 (file)
@@ -15,6 +15,7 @@
 #include <fcntl.h>
 #include "compat.h"
 
+
 using namespace p2tp;
 
 #define HASHSZ 20