diff --git a/rts/HeapStackCheck.cmm b/rts/HeapStackCheck.cmm index 5461f15c7a7d54fa83ce5db498e1228b6483082e..2c98769d7d41d5abdf3e05f450b54623b61ae20c 100644 --- a/rts/HeapStackCheck.cmm +++ b/rts/HeapStackCheck.cmm @@ -14,9 +14,6 @@ #include "Updates.h" #include "SMPClosureOps.h" -#if defined(__PIC__) -import pthread_mutex_unlock; -#endif import AcquireSRWLockExclusive; import ReleaseSRWLockExclusives; diff --git a/rts/PrimOps.cmm b/rts/PrimOps.cmm index 50d05f88033d7fc7778d6ae96f8780d092ea34f4..06e8eef0b88b1c3bf721a09da166027ff5188d94 100644 --- a/rts/PrimOps.cmm +++ b/rts/PrimOps.cmm @@ -25,10 +25,6 @@ #include "MachDeps.h" #include "SMPClosureOps.h" -#if defined(__PIC__) -import pthread_mutex_lock; -import pthread_mutex_unlock; -#endif import CLOSURE ghczminternal_GHCziInternalziControlziExceptionziBase_nestedAtomically_closure; import CLOSURE ghczminternal_GHCziInternalziIOziException_heapOverflow_closure; import CLOSURE ghczminternal_GHCziInternalziIOziException_blockedIndefinitelyOnMVar_closure;