Browse Source

include winsock2.h to resolve ws2tcpip.h conflict

nfactor-troky
tonobitc 11 years ago
parent
commit
d56d4ced64
  1. 1
      sgminer.c

1
sgminer.c

@ -35,6 +35,7 @@
#ifndef WIN32 #ifndef WIN32
#include <sys/resource.h> #include <sys/resource.h>
#else #else
#include <winsock2.h> //before windows.h to resolve ws2tcpip.h conflict https://github.com/veox/sgminer/issues/12
#include <windows.h> #include <windows.h>
#endif #endif
#include <ccan/opt/opt.h> #include <ccan/opt/opt.h>

Loading…
Cancel
Save