Windows: include winsock2.h instead of windows.h to avoid a warning.
authorBruce Cran <bruce@cran.org.uk>
Wed, 29 May 2013 09:21:04 +0000 (10:21 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 29 May 2013 10:07:26 +0000 (12:07 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
os/windows/posix/include/dirent.h

index 379fdf0fb62213faafd33409214e0c17aa90fa7a..6b4e671a8eb22e48108eb675f977b45f04aa369c 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef DIRENT_H
 #define DIRENT_H
 
-#include <windows.h>
+#include <winsock2.h>
 
 struct dirent
 {