aports/testing/bootterm/0001-fix-includes.patch

15 lines
402 B
Diff

tcgetaddr() and friends are in termios.h
--- a/src/bt.c 2024-04-04 14:23:09.000000000 +0200
+++ b/src/bt.c 2024-05-09 18:36:02.108344059 +0200
@@ -38,11 +38,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#if defined(__linux__) && !defined(NO_TCGETS2)
-#include <asm/termbits.h>
-#else
#include <termios.h>
-#endif
#include <time.h>
#include <unistd.h>
#if defined(__FreeBSD__)