summaryrefslogtreecommitdiff
path: root/source3/smbd/notify_inotify.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/notify_inotify.c')
-rw-r--r--source3/smbd/notify_inotify.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/notify_inotify.c b/source3/smbd/notify_inotify.c
index 5fb414de4c..ff17d455f3 100644
--- a/source3/smbd/notify_inotify.c
+++ b/source3/smbd/notify_inotify.c
@@ -26,6 +26,10 @@
#ifdef HAVE_INOTIFY
+#ifdef HAVE_ASM_TYPES_H
+#include <asm/types.h>
+#endif
+
#include <linux/inotify.h>
#include <asm/unistd.h>