1
0
mirror of https://github.com/GOSTSec/ccminer synced 2025-01-30 08:24:16 +00:00

api: fix includes after a test on mingw (cpuminer)

This commit is contained in:
Tanguy Pruvot 2014-11-16 03:25:41 +01:00
parent ae29d984c1
commit 59391e25ec

View File

@ -10,10 +10,9 @@
*/
#define APIVERSION "1.1"
#ifdef _MSC_VER
#ifdef WIN32
# define _WINSOCK_DEPRECATED_NO_WARNINGS
# include <winsock2.h>
# include <mstcpip.h>
#endif
#include <stdio.h>
@ -40,7 +39,7 @@
#include "nvml.h"
#endif
#ifndef _MSC_VER
#ifndef WIN32
# include <errno.h>
# include <sys/socket.h>
# include <netinet/in.h>