Fix 'Please include winsock2.h before windows.h' warnings with mingw32
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Wed, 26 Jun 2013 12:28:49 +0000 (15:28 +0300)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Wed, 10 Jul 2013 19:02:08 +0000 (22:02 +0300)
commitd6c9c86cb7f571ae0bd9aee4efa01a0f9c4c3104
treec4a73a5f13f6a8052607fb6eff6105bae1088f10
parentc64a0dcbefc5b0055954e37a3c86b32ff7a1b1da
Fix 'Please include winsock2.h before windows.h' warnings with mingw32

* random/rndw32.c: include winsock2.h before windows.h.
* src/ath.h [_WIN32]: Ditto.
* tests/benchmark.c [_WIN32]: Ditto.
--

Patch silences warnings of following type:
/usr/lib/gcc/i686-w64-mingw32/4.6/../../../../i686-w64-mingw32/include/winsock2.h:15:2: warning: #warning Please include winsock2.h before windows.h [-Wcpp]

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
random/rndw32.c
src/ath.h
tests/benchmark.c