summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5f6c5ae)
It wants to get included before windows.h
+#ifdef WIN32
+#include <winsock2.h>
+#endif
#include <cerrno>
#include <msp/core/systemerror.h>
#include <msp/io/handle_private.h>
#include <cerrno>
#include <msp/core/systemerror.h>
#include <msp/io/handle_private.h>
+#ifdef WIN32
+#include <winsock2.h>
+#else
#include <cerrno>
#include <unistd.h>
#include <fcntl.h>
#include <cerrno>
#include <unistd.h>
#include <fcntl.h>
+#ifdef WIN32
+#include <winsock2.h>
+#endif
#include <cerrno>
#include <msp/core/refptr.h>
#include <msp/core/systemerror.h>
#include <cerrno>
#include <msp/core/refptr.h>
#include <msp/core/systemerror.h>
+#ifdef WIN32
+#include <winsock2.h>
+#else
#include <sys/socket.h>
#endif
#include <cerrno>
#include <sys/socket.h>
#endif
#include <cerrno>