Message ID | 20220901203306.28623-1-edliaw@google.com |
---|---|
State | Accepted |
Headers | show |
Series | [v1] lapi/name_to_handle.h: fix include | expand |
> Import tst_test.h before lapi/syscalls.h so that the compiler defines > the correct symbols to use. > Thanks for the fix, applied.
diff --git a/include/lapi/name_to_handle_at.h b/include/lapi/name_to_handle_at.h index bdc59b549..7c76438ec 100644 --- a/include/lapi/name_to_handle_at.h +++ b/include/lapi/name_to_handle_at.h @@ -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,
Import tst_test.h before lapi/syscalls.h so that the compiler defines the correct symbols to use. Signed-off-by: Edward Liaw <edliaw@google.com> --- include/lapi/name_to_handle_at.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)