[PATCH 1/2] usbutils: Fix compile error on Ubuntu 9.04.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



lsusb doesn't compile for me unless I add this header file.  This is an
older development system (Ubuntu 9.04), so I'm not sure what combo of dev
packages is to blame.

Signed-off-by: Sarah Sharp <sarah.a.sharp@xxxxxxxxxxxxxxx>
---
 usbmisc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/usbmisc.c b/usbmisc.c
index bafb623..ee7f413 100644
--- a/usbmisc.c
+++ b/usbmisc.c
@@ -30,6 +30,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>
+#include <linux/limits.h>
 
 #include "usbmisc.h"
 
-- 
1.6.3.3

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux