* Use our own inotify headers if the system does not have them

* Don't rely on signal.h to include linux/types.h (for __u32 definition)
This commit is contained in:
Justin Maggard
2009-02-11 08:44:24 +00:00
parent 0d3505656d
commit 8de8a8dc50
3 changed files with 14 additions and 2 deletions

View File

@ -7,7 +7,12 @@
#include <libgen.h>
#include <errno.h>
#include <sys/types.h>
#ifdef HAVE_INOTIFY_H
#include <sys/inotify.h>
#else
#include "inotify-includes/inotify.h"
#include "inotify-includes/inotify-syscalls.h"
#endif
#include "upnpglobalvars.h"
#include "utils.h"