$NetBSD$

--- src/extensions/inotify/fallback-inotify.h.orig	2007-03-28 05:11:04.000000000 -0400
+++ src/extensions/inotify/fallback-inotify.h
@@ -7,7 +7,13 @@
 #ifndef _LINUX_INOTIFY_H
 #define _LINUX_INOTIFY_H
 
+#if defined(__NetBSD__)
+#include <sys/types.h>
+#define __s32 int32_t
+#define __u32 u_int32_t
+#else
 #include <linux/types.h>
+#endif
 
 /*
  * struct inotify_event - structure read from the inotify device for each event
