Skip to content

Commit

Permalink
[ci] Build on freebsd
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Jul 6, 2024
1 parent 345b27e commit c22cf59
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/ossia/detail/thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ int get_pid()
#else

#include <pthread.h>

// BSD
#if __has_include(<pthread_np.h>)
#include <pthread_np.h>
#endif

#include <unistd.h>
namespace ossia
{
Expand Down

0 comments on commit c22cf59

Please sign in to comment.