Fix up the StaticAnalysis build test so that it does not report invalid configurations.

This commit is contained in:
Dean Camera 2012-09-15 14:52:15 +00:00
parent 45a56b4df7
commit c8f7cf7621
2 changed files with 8 additions and 0 deletions

View file

@ -657,6 +657,11 @@ int hard_reboot(void)
#include <dev/usb/usb_ioctl.h>
#endif
#ifndef USB_GET_DEVICEINFO
# define USB_GET_DEVICEINFO 0
# error The USB_GET_DEVICEINFO ioctl() value is not defined for your system.
#endif
int open_usb_device(int vid, int pid)
{
int r, fd;