Signed-off-by: Masatake YAMATO <[email protected]>

diff --git a/testcases/kernel/syscalls/inotify/inotify03.c 
b/testcases/kernel/syscalls/inotify/inotify03.c
index 967082e..968f5ba 100644
--- a/testcases/kernel/syscalls/inotify/inotify03.c
+++ b/testcases/kernel/syscalls/inotify/inotify03.c
@@ -35,6 +35,7 @@
  *     Execute sequence file's operation and check return events
  *
  */
+#include "config.h"
 
 #include <stdio.h>
 #include <sys/mount.h>
@@ -48,7 +49,7 @@
 #include "test.h"
 #include "usctest.h"
 
-#if defined(HAS_SYS_INOTIFY) && defined(__NR_inotify_init)
+#if defined(HAVE_SYS_INOTIFY) && defined(__NR_inotify_init)
 #include <sys/inotify.h>
 
 #define EVENT_MAX 1024
@@ -368,7 +369,7 @@ main()
        tst_resm(TCONF, "Inotify syscall can be found at kernel 2.6.13 or 
higher.");
        return 0;
 #endif
-#ifndef HAS_SYS_INOTIFY
+#ifndef HAVE_SYS_INOTIFY
        tst_resm(TBROK, "can't find header sys/inotify.h");
        return 1;
 #endif

------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to