@@ -35,18 +35,10 @@ typedef pthread_mutex_t of_mutex_t; typedef pthread_cond_t of_condition_t; typedef pthread_once_t of_once_t; # define OF_ONCE_INIT PTHREAD_ONCE_INIT #elif defined(OF_WINDOWS) -/* - * winsock2.h needs to be included before windows.h. Not including it here - * would make it impossible to use sockets after threading.h has been - * imported. - */ -# ifdef OF_HAVE_SOCKETS -# include -# endif # include typedef HANDLE of_thread_t; typedef DWORD of_tlskey_t; typedef CRITICAL_SECTION of_mutex_t; typedef struct {