Skip to content

Commit

Permalink
fix BSD build
Browse files Browse the repository at this point in the history
Change-Id: I65760ec24e928849bb0854ef741de6d605574d03
  • Loading branch information
rdementi committed Jan 24, 2024
1 parent 5f90ef4 commit ba19563
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
#include <math.h>
#include <assert.h>

#if defined(__FreeBSD__) || (defined(__DragonFly__) && __DragonFly_version >= 400707)
#include <pthread_np.h>
#include <sys/_cpuset.h>
#include <sys/cpuset.h>
#endif

#ifndef _MSC_VER
#include <csignal>
#include <ctime>
Expand Down

0 comments on commit ba19563

Please sign in to comment.