24 lines
647 B
Plaintext
24 lines
647 B
Plaintext
$OpenBSD: patch-inotify-cxx_h,v 1.2 2017/04/24 01:10:37 jca Exp $
|
|
--- inotify-cxx.h.orig Sat Apr 7 00:19:27 2012
|
|
+++ inotify-cxx.h Mon Apr 24 03:08:02 2017
|
|
@@ -27,6 +27,7 @@
|
|
#define _INOTIFYCXX_H_
|
|
|
|
#include <stdint.h>
|
|
+#include <unistd.h>
|
|
#include <string>
|
|
#include <deque>
|
|
#include <map>
|
|
@@ -34,11 +35,6 @@
|
|
// Please ensure that the following headers take the right place
|
|
#include <sys/syscall.h>
|
|
#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))
|