Skip to content

Commit

Permalink
tools: usb: ffs-test: Fix build failure
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Maxin B. John authored and Greg Kroah-Hartman committed Mar 7, 2013
1 parent daec90e commit a0f11ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/usb/ffs-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#include <unistd.h>
#include <tools/le_byteshift.h>

#include "../../include/linux/usb/functionfs.h"
#include "../../include/uapi/linux/usb/functionfs.h"


/******************** Little Endian Handling ********************************/
Expand Down

0 comments on commit a0f11ac

Please sign in to comment.