Skip to content

Commit

Permalink
ptem01: fix compiling on alpine
Browse files Browse the repository at this point in the history
termio.h has been deprecated long time ago and 'struct termio' is now
backed up in the lapi/ioctl.h header.

Signed-off-by: Andrea Cervesato <[email protected]>
Fixes: 6a0c1f6 ("Refactor ptem01 test")
  • Loading branch information
acerv committed Jan 17, 2025
1 parent 4f5a681 commit 890ebb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testcases/kernel/pty/ptem01.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

#define _GNU_SOURCE

#include <termio.h>
#include <termios.h>
#include "common.h"
#include "lapi/ioctl.h"

static int masterfd = -1;

Expand Down

0 comments on commit 890ebb2

Please sign in to comment.