Commit Graph

2 Commits (475a2c944731aa5c578f1fc4aba51a3ae0069c2d)

Author SHA1 Message Date
Daniel Cohen Gindi 741a18446c Use correct `winsock2.h` version header instead of winsock.h.
`windows.h` is referring to `winsock.h` (unless the `WIN32_LEAN_AND_MEAN` is defined).
The structs used in this header are defined in `winsock2.h` or in `winsock.h`, but we are using Winsock2 of course!
So we have to include winsock2.h and refrain from including windows.h here
11 years ago
Daniel Cohen Gindi 4c2cfb17f0 Add MSVC compatible unix headers
The stdint.h file was copied from:

	https://runexe.googlecode.com/svn-history/r9/trunk/src/runlib/msstdint.h

(we can incorporate it because it is licensed under the 3-clause BSD
license.)

[JES: fixed commit message, fixed stripped copyright header]

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
11 years ago