summaryrefslogtreecommitdiff
blob: 5d6d762d17b037d9ccc98708e79fb345a24574ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
This is 04-missing-includes.diff from Debian to resolve http://bugs.gentoo.org/394633

--- usbhid-dump/include/uhd/dev_list.h
+++ usbhid-dump/include/uhd/dev_list.h
@@ -27,6 +27,7 @@
 #ifndef __UHD_DEV_LIST_H__
 #define __UHD_DEV_LIST_H__
 
+#include <stddef.h>
 #include "uhd/dev.h"
 
 #ifdef __cplusplus
--- usbhid-dump/src/usbhid-dump.c
+++ usbhid-dump/src/usbhid-dump.c
@@ -39,6 +39,7 @@
 #include <getopt.h>
 #include <stdio.h>
 #include <libusb-1.0/libusb.h>
+#include <limits.h>
 
 #include "config.h"