but rather use the sys_bsd flag. The reason why relying on the header
existance is bad, is that bsd decided to install this header, with the
essential difference, that on bsd we require to link against libinotify,
which makes the compilation fail.
ref T7710
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D8093
if sys_windows == true
ecore_file_src += [ 'ecore_file_monitor_win32.c']
-elif cc.has_header('sys/inotify.h')
+elif sys_linux == true
ecore_file_src += [ 'ecore_file_monitor_inotify.c']
else
ecore_file_src += [ 'ecore_file_monitor_poll.c']