Fix compile errors with MacOS (#312)

* Fix compile errors with MacOS
- _POSIX_C_SOURCE must not be defined for num_CPU()

* separate util_posix.c require changes in tools directory as well

* remove unnecessary self-include
This commit is contained in:
pwpiwi 2017-06-07 22:35:20 +02:00 committed by GitHub
parent f9a12dfac2
commit ec9c71129f
17 changed files with 109 additions and 59 deletions

View file

@ -60,6 +60,7 @@ THE SOFTWARE.
#include "hardnested_bf_core.h"
#include "ui.h"
#include "util.h"
#include "util_posix.h"
#include "crapto1/crapto1.h"
#include "parity.h"