tomwardio HAVE_POLL is correctly defined in SDL_config.h when running configure. However, in the only place where it's used, it's undefined at the start of the file.
@@ -24,7 +24,6 @@
#include "SDL_assert.h"
#include "SDL_poll.h"
-#undef HAVE_POLL
#ifdef HAVE_POLL
#include <poll.h>
#else