projects
/
ltt-control.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update lttd inotify
[ltt-control.git]
/
trunk
/
ltt-control
/
lttd
/
lttd.c
diff --git
a/trunk/ltt-control/lttd/lttd.c
b/trunk/ltt-control/lttd/lttd.c
index 87d5630c200983ed2d6cfc6af5e5016705130752..f9e7f3b815593ece3850cab3a9073721044ff16d 100644
(file)
--- a/
trunk/ltt-control/lttd/lttd.c
+++ b/
trunk/ltt-control/lttd/lttd.c
@@
-52,6
+52,7
@@
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,14)
#include <sys/inotify.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,14)
#include <sys/inotify.h>
+#if 0 /* should now be provided by libc. */
/* From the inotify-tools 2.6 package */
static inline int inotify_init (void)
{
/* From the inotify-tools 2.6 package */
static inline int inotify_init (void)
{
@@
-67,6
+68,7
@@
static inline int inotify_rm_watch (int fd, __u32 wd)
{
return syscall (__NR_inotify_rm_watch, fd, wd);
}
{
return syscall (__NR_inotify_rm_watch, fd, wd);
}
+#endif //0
#define HAS_INOTIFY
#else
static inline int inotify_init (void)
#define HAS_INOTIFY
#else
static inline int inotify_init (void)
This page took
0.022295 seconds
and
4
git commands to generate.