lapi/name_to_handle.h: fix include
PATCH 1/1 lapi/name_to_handle.h: fix include
Import tst_test.h before lapi/syscalls.h so that the compiler defines the correct symbols to use.
Signed-off-by Edward Liaw <[email protected]>
--- include/lapi/name_to_handle_at.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/lapi/name_to_handle_at.h +1 -1
@@ -9,10 +9,10 @@#include <sys/syscall.h> #include "config.h" +#include "tst_test.h" #include "lapi/syscalls.h" #include "lapi/fcntl.h" #include "tst_buffers.h" -#include "tst_test.h" #ifndef HAVE_NAME_TO_HANDLE_AT static inline int name_to_handle_at(int dfd, const char *pathname,
Signature · 5 lines
2.37.2.789.g6183377224-goog -- Mailing list info: https://lists.linux.it/listinfo/ltp
Quoted 3 lines
Import
tst_test.hbeforelapi/syscalls.hso that the compiler defines the correct symbols to use.
Thanks for the fix, applied.
Signature · 2 lines
Regards, Li Wang
Signature · 2 lines
-- Mailing list info: https://lists.linux.it/listinfo/ltp