summaryrefslogtreecommitdiffstats
path: root/compat
Commit message (Collapse)AuthorAgeFilesLines
* Use correct `winsock2.h` version header instead of winsock.h.Daniel Cohen Gindi2014-09-201-2/+4
| | | | | | `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
* Add MSVC compatible unix headersDaniel Cohen Gindi2014-09-023-0/+312
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>