summaryrefslogtreecommitdiff
path: root/shared/inotify/inotify-cxx.h
diff options
context:
space:
mode:
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