Skip to content

Commit

Permalink
Merge pull request #6038 from karolyi/master
Browse files Browse the repository at this point in the history
Closes #6037, fixing FreeBSD compilation
  • Loading branch information
sklam committed Sep 9, 2020
2 parents 46f663c + d6909e4 commit 955a1f6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions numba/np/ufunc/workqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@ race conditions.
/* PThread */
#include <pthread.h>
#include <unistd.h>

#if defined(__FreeBSD__)
#include <stdlib.h>
#else
#include <alloca.h>
#endif

#include <sys/types.h>
#include <unistd.h>
#include <signal.h>
Expand Down

0 comments on commit 955a1f6

Please sign in to comment.