mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
proc_open FreeBSD build fix
On this platform the needed header is different. Closes GH-5623
This commit is contained in:
parent
b3718430de
commit
e8ba8908a9
1 changed files with 7 additions and 2 deletions
|
@ -47,8 +47,13 @@
|
|||
# if HAVE_PTY_H
|
||||
# include <pty.h>
|
||||
# else
|
||||
/* Mac OS X defines `openpty` in <util.h> */
|
||||
# include <util.h>
|
||||
# if defined(__FreeBSD__)
|
||||
/* FreeBSD defines `openpty` in <libutil.h> */
|
||||
# include <libutil.h>
|
||||
# else
|
||||
/* Mac OS X and some BSD defines `openpty` in <util.h> */
|
||||
# include <util.h>
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue