summaryrefslogtreecommitdiff
path: root/inotail.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2008-09-21 19:44:16 +0300
committerTobias Klauser <tklauser@sym.(none)>2008-09-23 09:40:40 +0200
commite00a6af8174e4a75391a72a2bdd5090b7df436fb (patch)
treeb56e4f26c8d3b0aa18d1e28d2bb6307c4916f364 /inotail.c
parent773a28080cf129b96c760fbcb515ba389c58ccbf (diff)
use sys/inotify.h
Some time ago glibc did not yet have inotify support, which forced several applications (including inotail) to ship their own copy of the required headers. Especially considering that this also requires updating the syscall numbers each time a new architecture wants to get supported it's the best to instead switch to #include <sys/inotify.h> now.
Diffstat (limited to 'inotail.c')
-rw-r--r--inotail.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/inotail.c b/inotail.c
index fcf9185..8bda14a 100644
--- a/inotail.c
+++ b/inotail.c
@@ -33,8 +33,7 @@
#include <sys/types.h>
#include <sys/stat.h>
-#include "inotify.h"
-#include "inotify-syscalls.h"
+#include <sys/inotify.h>
#include "inotail.h"