]> p2p-next.cs.pub.ro Git - swift-upb.git/commitdiff
- 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 19f93498143a85d2c719815af5987b7597be5e05..39c880802030be9a5073e8ec5ff701309dcf664f 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 9665cff6b53bcc6e4ccaa17accd451a56e35d028..bfb4b28269c9d06db120a1bd010bb727cfac0cb3 100644 (file)
@@ -15,6 +15,7 @@
 #include <fcntl.h>
 #include "compat.h"
 
+
 using namespace p2tp;
 
 #define HASHSZ 20