aboutsummaryrefslogtreecommitdiffstats
path: root/tests/io_mock.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/io_mock.h')
-rw-r--r--tests/io_mock.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/io_mock.h b/tests/io_mock.h
index 72d89c50..5cddca0d 100644
--- a/tests/io_mock.h
+++ b/tests/io_mock.h
@@ -37,6 +37,11 @@ typedef struct libusb_device_handle libusb_device_handle;
struct libusb_context;
typedef struct libusb_context libusb_context;
+/* Define struct pci_dev to avoid dependency on pci.h */
+struct pci_dev {
+ unsigned int device_id;
+};
+
struct io_mock {
void *state;