Skip to content

Commit

Permalink
libtty: adapt to new location of _POSIX_VDISABLE
Browse files Browse the repository at this point in the history
JIRA: RTOS-965
  • Loading branch information
badochov committed Jan 20, 2025
1 parent 069b560 commit 79268a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions tty/libtty/libtty.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

#include <stdint.h>
#include <termios.h>
#include <unistd.h>

#include "ttydefaults.h"

Expand Down
1 change: 1 addition & 0 deletions tty/libtty/libtty_disc.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
#include <signal.h>
#include <fcntl.h>
#include <errno.h>
#include <unistd.h>

#include "ttydefaults.h"

Expand Down
1 change: 1 addition & 0 deletions tty/libtty/libtty_disc.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

#include <stdint.h>
#include <termios.h>
#include <unistd.h>

/* termios comparison macro's. */
#define CMP_CC(v, c) (tty->term.c_cc[v] != _POSIX_VDISABLE && \
Expand Down

0 comments on commit 79268a9

Please sign in to comment.