Browse Source

Merge pull request #90 from p2k/master

Fixed API compiling issue on OS X
Con Kolivas 14 years ago
parent
commit
22a1850cbc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api.c

+ 1 - 1
api.c

@@ -21,7 +21,7 @@
 #include "compat.h"
 #include "miner.h"
 
-#if defined(unix)
+#if defined(unix) || defined(__APPLE__)
 	#include <errno.h>
 	#include <sys/socket.h>
 	#include <netinet/in.h>