1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-09 00:33:33 -05:00

Added ifdefs for DragonflyBSD

Possible fix for #3179
This commit is contained in:
SChernykh
2022-12-16 15:26:37 +01:00
parent 25decd1b7f
commit a02afe6d4f
4 changed files with 10 additions and 10 deletions

View File

@@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifdef __FreeBSD__
#if defined(__FreeBSD__) || defined(__DragonFly__)
# include <sys/types.h>
# include <sys/param.h>
# include <sys/cpuset.h>
@@ -41,7 +41,7 @@
#include "version.h"
#ifdef __FreeBSD__
#if defined(__FreeBSD__) || defined(__DragonFly__)
typedef cpuset_t cpu_set_t;
#endif