Include poll.h on UNIXCOMMON

Apple was not including poll.h despite needing it.
This commit is contained in:
Eidolon 2024-02-24 13:21:55 -06:00
parent 4c7b2f16e7
commit 5008d866b9

View file

@ -102,8 +102,11 @@ typedef LPVOID (WINAPI *p_MapViewOfFile) (HANDLE, DWORD, DWORD, DWORD, SIZE_T);
#endif
#endif
#if defined (__unix__) || (defined (UNIXCOMMON) && !defined (__APPLE__))
#if defined(UNIXCOMMON)
#include <poll.h>
#endif
#if defined (__unix__) || (defined (UNIXCOMMON) && !defined (__APPLE__))
#include <errno.h>
#include <sys/wait.h>
#define NEWSIGNALHANDLER