Removed. Removed. Removed the included copies of the inotify headers. We

2008-01-21  Alexander Larsson  <alexl@redhat.com>

        * inotify/Makefile.am:
        * inotify/inotify-helper.c:
        * inotify/inotify-kernel.c:
        * inotify/inotify-path.c:
        * inotify/local_inotify.h: Removed.
        * inotify/local_inotify_syscalls.h: Removed.
	Removed the included copies of the inotify
	headers. We now only use the <sys/inotify.h>
	header which exists on modern systems.
	This fixes problems on ARM and SH5 (#510448)
	but is also generally much cleaner and future
	safe. For instance, if other OSes add support
	for inotify it should "just work".



svn path=/trunk/; revision=6338
This commit is contained in:
Alexander Larsson
2008-01-21 10:35:44 +00:00
committed by Alexander Larsson
parent a043325ec1
commit d8473705b0
9 changed files with 24 additions and 244 deletions

View File

@@ -28,17 +28,7 @@
/* Don't put conflicting kernel types in the global namespace: */
#define __KERNEL_STRICT_NAMES
#include "local_inotify.h"
#if 0
#ifdef HAVE_SYS_INOTIFY_H
/* We don't actually include the libc header, because there has been
* problems with libc versions that was built without inotify support.
* Instead we use the local version.
*/
#elif defined (HAVE_LINUX_INOTIFY_H)
#include <linux/inotify.h>
#endif
#endif
#include <sys/inotify.h>
#include <string.h>
#include <glib.h>
#include "inotify-kernel.h"