--- old/src/os/bsd/vm/semaphore_bsd.hpp 2015-06-25 18:20:28.857443857 +0200 +++ new/src/os/bsd/vm/semaphore_bsd.hpp 2015-06-25 18:20:28.705438681 +0200 @@ -25,14 +25,14 @@ #ifndef OS_BSD_VM_SEMAPHORE_BSD_HPP #define OS_BSD_VM_SEMAPHORE_BSD_HPP -#include "memory/allocation.hpp" - -#include - #ifndef __APPLE__ +// Use POSIX semaphores. # include "semaphore_posix.hpp" + #else // OS X doesn't support unamed POSIX semaphores, so the implementation in os_posix.cpp can't be used. +# include "memory/allocation.hpp" +# include class OSXSemaphore : public CHeapObj{ semaphore_t _semaphore;