projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0af4c3
)
#include <winsock2.h> on Windows.
author
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 25 Jun 2012 13:01:42 +0000
(15:01 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 25 Jun 2012 13:01:42 +0000
(15:01 +0200)
MinGW complained about it not being included.
have.h
patch
|
blob
|
history
diff --git
a/have.h
b/have.h
index 72af069884f8e1a0d077cbe8edbfd61618c45ee4..e00c7f7194f046f57d8f2d447893ead48417f319 100644
(file)
--- a/
have.h
+++ b/
have.h
@@
-41,6
+41,7
@@
#ifdef HAVE_MINGW
#include <w32api.h>
+#include <winsock2.h>
#include <windows.h>
#include <ws2tcpip.h>
#endif