summaryrefslogtreecommitdiff
path: root/src/lib/ecore_file/ecore_file_monitor_inotify.c
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-06 13:02:59 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-06 13:02:59 +0000
commit6a5eaacc6ada22808ec8515ef2b414883f4f59fe (patch)
tree11ddc57ab808907ac2652e57a2f1cde8335eec81 /src/lib/ecore_file/ecore_file_monitor_inotify.c
parente3178a936d09c417ad9935c2304bf211fe8de345 (diff)
efl: common inotify checks, simplified.
Another try to make inotify checks more common. This time uses AC_CHECK_HEADERS() as for others, that already define HAVE_SYS_INOTIFY_H, then uses that. I still kept AM_CONDITIONAL([HAVE_INOTIFY]) because I plan to convert ecore_file to the same, smarter, method that is used in eio (compiling the file depending on the backend. SVN revision: 80358
Diffstat (limited to 'src/lib/ecore_file/ecore_file_monitor_inotify.c')
-rw-r--r--src/lib/ecore_file/ecore_file_monitor_inotify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore_file/ecore_file_monitor_inotify.c b/src/lib/ecore_file/ecore_file_monitor_inotify.c
index 1b682fc4a0..9cb5de83e6 100644
--- a/src/lib/ecore_file/ecore_file_monitor_inotify.c
+++ b/src/lib/ecore_file/ecore_file_monitor_inotify.c
@@ -20,7 +20,7 @@
20 * - Listen to IN_IGNORED, emitted when the watch is removed 20 * - Listen to IN_IGNORED, emitted when the watch is removed
21 */ 21 */
22 22
23#ifdef HAVE_INOTIFY 23#ifdef HAVE_SYS_INOTIFY_H
24 24
25#include <sys/inotify.h> 25#include <sys/inotify.h>
26 26
@@ -328,4 +328,4 @@ _ecore_file_monitor_inotify_print(char *file, int mask)
328 INF("Inotify unmount %s: %s", type, file); 328 INF("Inotify unmount %s: %s", type, file);
329} 329}
330#endif 330#endif
331#endif /* HAVE_INOTIFY */ 331#endif /* HAVE_SYS_INOTIFY_H */