* 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:
@ -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
|
||||
|
Reference in New Issue
Block a user