Skip to content

Commit

Permalink
Include pthread_np on FreeBSD (#30737)
Browse files Browse the repository at this point in the history
This is where `pthread_attr_get_np` is defined, which is used in init.c.
  • Loading branch information
ararslan authored Jan 17, 2019
1 parent f10cf03 commit ec807bc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
#include <getopt.h>
#endif

#if defined(_OS_FREEBSD_)
#include <pthread_np.h>
#endif

#include "julia.h"
#include "julia_internal.h"
#define DEFINE_BUILTIN_GLOBALS
Expand Down

0 comments on commit ec807bc

Please sign in to comment.