提交 a0f11ace 编写于 作者: M Maxin B. John 提交者: Greg Kroah-Hartman

tools: usb: ffs-test: Fix build failure

Fixes this build failure:
gcc -Wall -Wextra -g -lpthread -I../include -o testusb testusb.c
gcc -Wall -Wextra -g -lpthread -I../include -o ffs-test ffs-test.c
In file included from ffs-test.c:41:0:
../../include/linux/usb/functionfs.h:4:39: fatal error:
uapi/linux/usb/functionfs.h: No such file or directory
compilation terminated.
make: *** [ffs-test] Error 1
Signed-off-by: NMaxin B. John <maxin.john@enea.com>
Acked-by: NMichal Nazarewicz <mina86@mina86.com>
Cc: stable <stable@vger.kernel.org>  # 3.7+
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 daec90e7
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
#include <unistd.h> #include <unistd.h>
#include <tools/le_byteshift.h> #include <tools/le_byteshift.h>
#include "../../include/linux/usb/functionfs.h" #include "../../include/uapi/linux/usb/functionfs.h"
/******************** Little Endian Handling ********************************/ /******************** Little Endian Handling ********************************/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册