* 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

@ -8,7 +8,7 @@
#define __UPNPGLOBALVARS_H__
#include <time.h>
#include <signal.h> // Defines __u32
#include <linux/types.h> // Defines __u32
#include "minidlnatypes.h"
#include "config.h"
@ -54,7 +54,6 @@ extern struct runtime_vars_s runtime_vars;
extern int runtime_flags;
#define INOTIFYMASK 0x0001
#define SYSUPTIMEMASK 0x0002
#define CHECKCLIENTIPMASK 0x0008
#define SETFLAG(mask) runtime_flags |= mask
#define GETFLAG(mask) runtime_flags & mask