p2k
14 years ago
1 changed files with
1 additions and
1 deletions
-
1
1
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>
|