aboutsummaryrefslogtreecommitdiff
path: root/src/rc/runscript.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc/runscript.c')
-rw-r--r--src/rc/runscript.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/runscript.c b/src/rc/runscript.c
index 3ecb6b57..7dc7593c 100644
--- a/src/rc/runscript.c
+++ b/src/rc/runscript.c
@@ -52,7 +52,7 @@
#include <time.h>
#include <unistd.h>
-#ifdef __linux__
+#if defined(__linux__) || defined(__GLIBC__)
# include <pty.h>
#elif defined(__NetBSD__) || defined(__OpenBSD__)
# include <util.h>