Skip to content

Commit

Permalink
Fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
deathkiller committed Nov 30, 2024
1 parent bee0f62 commit 72f70c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion Sources/nCine/Threading/PosixThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#include <atomic>
#include <cstring>
#include <pthread.h>
#include <sched.h> // for sched_yield()
#include <unistd.h> // for sysconf()
#include <utility>
Expand Down
2 changes: 2 additions & 0 deletions Sources/nCine/Threading/Thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

#if defined(DEATH_TARGET_APPLE)
# include <mach/mach_init.h>
#elif !defined(DEATH_TARGET_WINDOWS)
# include <pthread.h>
#endif

namespace nCine
Expand Down

0 comments on commit 72f70c7

Please sign in to comment.