opnsense-ports/devel/libhid/files/patch-test_test_libhid.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

9 lines
310 B
C

--- test/test_libhid.c.orig 2009-03-07 20:29:59.000000000 +0300
+++ test/test_libhid.c 2009-03-07 20:30:05.000000000 +0300
@@ -1,5 +1,6 @@
#include <hid.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
bool match_serial_number(struct usb_dev_handle* usbdev, void* custom, unsigned int len)