void-packages/srcpkgs/libusbmuxd/patches/musl.patch
Nathan Owens 3b1aad2196 libusbmuxd: update 2.0.1
Signed-off-by: Nathan Owens <ndowens04@gmail.com>
2019-12-12 13:58:18 +01:00

14 lines
332 B
Diff

diff --git tools/inetcat.c tools/inetcat.c
index b306a47..74bb91b 100644
--- tools/inetcat.c
+++ tools/inetcat.c
@@ -21,6 +21,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef fd_set
+#include <sys/select.h>
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>