History

usb: usbip: fix usbip.h path in userspace tool

Fixes: 588b48caf65c ("usbip: move usbip userspace code out of staging") which introduced build failure by not changing uapi/usbip.h include path according to new location.

Piotr Król committed 12 years ago

Commit 6fa9e1b1 parent 8b0da752 files · +2 −1Browse files

Unified · Split

2 files
  1. include/uapi/linux/Kbuild +1 −0
  2. tools/usb/usbip/libsrc/usbip_common.h +1 −1
include/uapi/linux/Kbuild+1−0
@@ -395,6 +395,7 @@ header-y += un.h · 394 unmodified lines
395395 header-y += unistd.h
396396 header-y += unix_diag.h
397397 header-y += usbdevice_fs.h
398+header-y += usbip.h
398399 header-y += utime.h
399400 header-y += utsname.h
400401 header-y += uuid.h
tools/usb/usbip/libsrc/usbip_common.h+1−1
@@ -15,7 +15,7 @@ · 14 unmodified lines
1515 #include <syslog.h>
1616 #include <unistd.h>
1717 #include <linux/usb/ch9.h>
18−#include "../../uapi/usbip.h"
18+#include <linux/usbip.h>
1919
2020 #ifndef USBIDS_FILE
2121 #define USBIDS_FILE "/usr/share/hwdata/usb.ids"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t