void-packages/srcpkgs/picocom/patches/fix-musl.patch

13 lines
306 B
Diff

diff -up term.c.orig term.c
--- term.c.orig 2015-08-25 19:53:25.000000000 +0200
+++ term.c 2015-08-30 11:40:05.723748387 +0200
@@ -33,7 +33,7 @@
#include <string.h>
#include <errno.h>
#include <unistd.h>
-#include <termios.h>
+#include <asm/termbits.h>
#ifdef __linux__
#include <sys/ioctl.h>
#endif