Skip to content

Commit a0f11ac

Browse files
maxinbjohngregkh
authored andcommitted
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: Maxin B. John <maxin.john@enea.com> Acked-by: Michal Nazarewicz <mina86@mina86.com> Cc: stable <stable@vger.kernel.org> # 3.7+ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent daec90e commit a0f11ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/usb/ffs-test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
#include <unistd.h>
3939
#include <tools/le_byteshift.h>
4040

41-
#include "../../include/linux/usb/functionfs.h"
41+
#include "../../include/uapi/linux/usb/functionfs.h"
4242

4343

4444
/******************** Little Endian Handling ********************************/

0 commit comments

Comments
 (0)