aboutsummaryrefslogtreecommitdiff
path: root/util/qemu-openpty.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/qemu-openpty.c')
-rw-r--r--util/qemu-openpty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/qemu-openpty.c b/util/qemu-openpty.c
index 4b8df96f38..eb17f5b0bc 100644
--- a/util/qemu-openpty.c
+++ b/util/qemu-openpty.c
@@ -35,7 +35,7 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
-#if defined(__GLIBC__)
+#if defined HAVE_PTY_H
# include <pty.h>
#elif defined CONFIG_BSD
# include <termios.h>