diff --git a/inc/ToastyFS.h b/inc/ToastyFS.h index 92a0c5f..0df6557 100644 --- a/inc/ToastyFS.h +++ b/inc/ToastyFS.h @@ -7,13 +7,6 @@ #include #include -// Get the definition of "struct pollfd" -#ifdef _WIN32 -#include -#else -#include -#endif - ////////////////////////////////////////////////////////////////////////////////// // TYPES & UTILITIES ////////////////////////////////////////////////////////////////////////////////// @@ -258,6 +251,8 @@ void toasty_free_result(ToastyResult *result); #define TOASTY_POLL_CAPACITY 514 +struct pollfd; + // TODO: comment int toasty_process_events(ToastyFS *toasty, void **contexts, struct pollfd *polled, int num_polled);