… | |
… | |
382 | # include <sys/select.h> |
382 | # include <sys/select.h> |
383 | # endif |
383 | # endif |
384 | #endif |
384 | #endif |
385 | |
385 | |
386 | #if EV_USE_INOTIFY |
386 | #if EV_USE_INOTIFY |
387 | # include <sys/utsname.h> |
|
|
388 | # include <sys/statfs.h> |
387 | # include <sys/statfs.h> |
389 | # include <sys/inotify.h> |
388 | # include <sys/inotify.h> |
390 | /* some very old inotify.h headers don't have IN_DONT_FOLLOW */ |
389 | /* some very old inotify.h headers don't have IN_DONT_FOLLOW */ |
391 | # ifndef IN_DONT_FOLLOW |
390 | # ifndef IN_DONT_FOLLOW |
392 | # undef EV_USE_INOTIFY |
391 | # undef EV_USE_INOTIFY |
… | |
… | |
522 | #ifdef _WIN32 |
521 | #ifdef _WIN32 |
523 | # include "ev_win32.c" |
522 | # include "ev_win32.c" |
524 | #endif |
523 | #endif |
525 | |
524 | |
526 | /*****************************************************************************/ |
525 | /*****************************************************************************/ |
|
|
526 | |
|
|
527 | #ifdef __linux |
|
|
528 | # include <sys/utsname.h> |
|
|
529 | #endif |
527 | |
530 | |
528 | static unsigned int noinline |
531 | static unsigned int noinline |
529 | ev_linux_version (void) |
532 | ev_linux_version (void) |
530 | { |
533 | { |
531 | #ifdef __linux |
534 | #ifdef __linux |