Compile FreeBSD 11 release error
/usr/local/scripts/xmrig-proxy/src/Platform_unix.cpp:128:35: error: use of undeclared identifier 'SCHED_IDLE'
        if (sched_setscheduler(0, SCHED_IDLE, &param) != 0) {
                                  ^
/usr/local/scripts/xmrig-proxy/src/Platform_unix.cpp:129:35: error: use of undeclared identifier 'SCHED_BATCH'
            sched_setscheduler(0, SCHED_BATCH, &param);
                                  ^
2 errors generated.
*** Error code 1

Stop.
make[2]: stopped in /usr/local/scripts/xmrig-proxy
*** Error code 1

Stop.
make[1]: stopped in /usr/local/scripts/xmrig-proxy
*** Error code 1

Stop.
make: stopped in /usr/local/scripts/xmrig-proxy
