Lines 29-41
Link Here
|
29 |
|
29 |
|
30 |
#include <features.h> |
30 |
#include <features.h> |
31 |
|
31 |
|
32 |
#if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 4 |
32 |
#include "hasinotify.h" |
33 |
#define GLIBC_SUPPORT_INOTIFY 1 |
33 |
#ifdef GLIBC_SUPPORT_INOTIFY |
34 |
#else |
|
|
35 |
#define GLIBC_SUPPORT_INOTIFY 0 |
36 |
#endif |
37 |
|
38 |
#if GLIBC_SUPPORT_INOTIFY |
39 |
#include <sys/inotify.h> |
34 |
#include <sys/inotify.h> |
40 |
#else |
35 |
#else |
41 |
#include "inotify_compat.h" |
36 |
#include "inotify_compat.h" |