nixpkgs/pkgs/development/libraries/libusb-compat/fix-headers.patch
Jan Tojnar 84d0f3fa7d
pkgsMusl.libusb-compat-0_1: fix eval
e89e2edc73 did not move all files when moving the directory.

Fixes: https://github.com/NixOS/nixpkgs/issues/96947
2020-09-02 07:38:09 +02: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>