1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-21 18:11:11 +00:00

some include fixes

This commit is contained in:
Desour 2024-10-04 03:19:06 +02:00
parent 22b4f3becf
commit 668d22f39f
3 changed files with 14 additions and 7 deletions

View file

@ -26,6 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <string>
#include <type_traits>
#include <vector>
#include <atomic>
#if defined(_WIN32)
#define IPC_CHANNEL_IMPLEMENTATION_WIN32
@ -37,8 +38,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#if defined(IPC_CHANNEL_IMPLEMENTATION_WIN32)
#include <windows.h>
#elif defined(IPC_CHANNEL_IMPLEMENTATION_LINUX_FUTEX)
#include <atomic>
#elif defined(IPC_CHANNEL_IMPLEMENTATION_POSIX)
#include <pthread.h>
#endif