diff --git a/src/core/unix/SDL_poll.c b/src/core/unix/SDL_poll.c
index b970a7a08..b7f139dbc 100644
--- a/src/core/unix/SDL_poll.c
+++ b/src/core/unix/SDL_poll.c
@@ -24,7 +24,6 @@
 #include "SDL_assert.h"
 #include "SDL_poll.h"
 
-#undef HAVE_POLL
 #ifdef HAVE_POLL
 #include <poll.h>
 #else