Add signal.h check for linux/unix

This commit is contained in:
twinaphex 2020-01-10 15:14:09 +01:00
parent 0b0455975b
commit 99d5dba6ae

View File

@ -31,10 +31,13 @@
#if defined(DINGUX)
#include <sys/types.h>
#include <signal.h>
#include <unistd.h>
#endif
#if (defined(__linux__) || defined(__unix__) || defined(DINGUX)) && !defined(EMSCRIPTEN)
#include <signal.h>
#endif
#if defined(_WIN32_WINNT) && _WIN32_WINNT < 0x0500 || defined(_XBOX)
#ifndef LEGACY_WIN32
#define LEGACY_WIN32