mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 15:27:53 +00:00
Merge pull request #90 from p2k/master
Fixed API compiling issue on OS X
This commit is contained in:
commit
22a1850cbc
2
api.c
2
api.c
@ -21,7 +21,7 @@
|
|||||||
#include "compat.h"
|
#include "compat.h"
|
||||||
#include "miner.h"
|
#include "miner.h"
|
||||||
|
|
||||||
#if defined(unix)
|
#if defined(unix) || defined(__APPLE__)
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user