Include poll.h on UNIXCOMMON

Apple was not including poll.h despite needing it.
This commit is contained in:
Eidolon authored and PAS committed 2025-06-10 21:49:00 -04:00
1 parent 1e15816057
commit 0a3e7ba09f
1 file changed
+4 -1
+4 -1
View File
@@ -110,8 +110,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