summaryrefslogtreecommitdiff
path: root/shared/inotify/inotify-cxx.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:05:30 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:05:30 +0200
commitc0fce877c478ddbf71a1b651c789e5ea00a00144 (patch)
treede01b0ae8fd296bd24fbca54a80f2f0ba071d461 /shared/inotify/inotify-cxx.h
parent3.3 (diff)
downloadFreeFileSync-c0fce877c478ddbf71a1b651c789e5ea00a00144.tar.gz
FreeFileSync-c0fce877c478ddbf71a1b651c789e5ea00a00144.tar.bz2
FreeFileSync-c0fce877c478ddbf71a1b651c789e5ea00a00144.zip
3.4
Diffstat (limited to 'shared/inotify/inotify-cxx.h')
-rw-r--r--shared/inotify/inotify-cxx.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/shared/inotify/inotify-cxx.h b/shared/inotify/inotify-cxx.h
index 4170972f..34ae2212 100644
--- a/shared/inotify/inotify-cxx.h
+++ b/shared/inotify/inotify-cxx.h
@@ -5,7 +5,7 @@
*
* inotify C++ interface
*
- * Copyright (C) 2006, 2007 Lukas Jelinek, <lukas@aiken.cz>
+ * Copyright (C) 2006, 2007, 2009 Lukas Jelinek, <lukas@aiken.cz>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of one of the following licenses:
@@ -16,7 +16,10 @@
*
* If you want to help with choosing the best license for you,
* please visit http://www.gnu.org/licenses/license-list.html.
- *
+ *
+ * Credits:
+ * Mike Frysinger (cleanup of includes)
+ *
*/
@@ -31,14 +34,9 @@
#include <deque>
#include <map>
-// Please ensure that the following headers take the right place
-#include <sys/syscall.h>
+// Please ensure that the following header file takes the right place
#include <sys/inotify.h>
-// Use this if syscalls not defined
-#ifndef __NR_inotify_init
-#include <sys/inotify-syscalls.h>
-#endif // __NR_inotify_init
/// Event struct size
#define INOTIFY_EVENT_SIZE (sizeof(struct inotify_event))
bgstack15