Skip to content

configure.ac: add detection of pty.h#51

Open
trofi wants to merge 1 commit intoscheme:masterfrom
trofi:fix-pth.h-decl
Open

configure.ac: add detection of pty.h#51
trofi wants to merge 1 commit intoscheme:masterfrom
trofi:fix-pth.h-decl

Conversation

@trofi
Copy link

@trofi trofi commented Apr 28, 2025

Without the change the build on modern autoconf fails as:

c/tty.c: In function 'allocate_master':
c/tty.c:398:14: error: implicit declaration of function 'openpty'; did you mean 'openat'? [-Wimplicit-function-declaration]
  398 |         rc = openpty (&master_fd, &slave_fd, NULL, NULL, NULL);
      |              ^~~~~~~
      |              openat

Without the change the build on modern autoconf fails as:

    c/tty.c: In function 'allocate_master':
    c/tty.c:398:14: error: implicit declaration of function 'openpty'; did you mean 'openat'? [-Wimplicit-function-declaration]
      398 |         rc = openpty (&master_fd, &slave_fd, NULL, NULL, NULL);
          |              ^~~~~~~
          |              openat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant