[PATCH] wineserver: inotify cleanups and detection improvements
Outside Linux, wineserver fails to link when sys/inotify.h
is present, as it tries to find inotify symbols in libc,
which doesn't have them. The inotify symbols are in libinotify.so.
Detect it properly, and link to it where available.
Also clean up usage of inotify on Linux/i386. It shouldn't need to
redefine everything, the header was available in sys/inotify.h
for a long time now.