Skip to content

Commit 4447152

Browse files
committed
Revert "Update qemu-openpty.c: stay required pty.h"
This reverts commit a3e96e0.
1 parent a3e96e0 commit 4447152

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

util/qemu-openpty.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@
3535
#include "qemu/osdep.h"
3636
#include "qemu-common.h"
3737

38+
#if defined(__GLIBC__)
3839
# include <pty.h>
39-
#if defined CONFIG_BSD
40+
#elif defined CONFIG_BSD
4041
# include <termios.h>
4142
# if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
4243
# include <libutil.h>

0 commit comments

Comments
 (0)