Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1086 from 9rnsr/fix12359
Browse files Browse the repository at this point in the history
Add missing imports
  • Loading branch information
MartinNowak committed Jan 6, 2015
2 parents 19a7fd1 + a29233d commit e011440
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/thread.d
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,9 @@ else version( Posix )
// avoid deadlocks in signal handler, see Issue 13416
version (FreeBSD) bool THR_IN_CRITICAL(pthread_t p) nothrow @nogc
{
import core.sys.posix.sys.types : c_long, lwpid_t;
import core.sys.posix.config : c_long;
import core.sys.posix.sys.types : lwpid_t;

// If the begin of pthread would be changed in libthr (unlikely)
// we'll run into undefined behavior, compare with thr_private.h.
static struct pthread
Expand Down

0 comments on commit e011440

Please sign in to comment.