aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/misc_os_dependent.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-12-24 18:49:48 +0200
committerRiccardo Spagni <ric@spagni.net>2017-12-24 18:49:48 +0200
commitb373d0f15ee0920022041fe8cba08f3b6c92d3d9 (patch)
tree3345697363bedbf80563bd50585e4b9fba240f67 /contrib/epee/include/misc_os_dependent.h
parentMerge pull request #2961 (diff)
parentFix Windows build (diff)
downloadmonero-b373d0f15ee0920022041fe8cba08f3b6c92d3d9.tar.xz
Merge pull request #2994
2018cf74 Fix Windows build (dEBRUYNE-1)
Diffstat (limited to 'contrib/epee/include/misc_os_dependent.h')
-rw-r--r--contrib/epee/include/misc_os_dependent.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/epee/include/misc_os_dependent.h b/contrib/epee/include/misc_os_dependent.h
index 81cecf714..99690b301 100644
--- a/contrib/epee/include/misc_os_dependent.h
+++ b/contrib/epee/include/misc_os_dependent.h
@@ -23,6 +23,10 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
+#ifdef _WIN32
+#include <Winsock2.h>
+#endif
+
#ifdef WIN32
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN