depot/third_party/nixpkgs/pkgs/development/libraries/libusb/fix-headers.patch
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

10 lines
224 B
Diff

--- libusb-compat-0.1.5.orig/libusb/usb.h
+++ libusb-compat-0.1.5/libusb/usb.h
@@ -25,6 +25,7 @@
#ifndef __USB_H__
#define __USB_H__
+#include <sys/types.h>
#include <unistd.h>
#include <stdlib.h>
#include <limits.h>