summaryrefslogtreecommitdiff
path: root/include/pty.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pty.h')
-rw-r--r--include/pty.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/pty.h b/include/pty.h
index d8550840e..7c64359d2 100644
--- a/include/pty.h
+++ b/include/pty.h
@@ -25,6 +25,7 @@
#include <termios.h>
#include <sys/ioctl.h>
+__BEGIN_DECLS
/* Create pseudo tty master slave pair with NAME and set terminal
attributes according to TERMP and WINP and return handles for both
@@ -37,4 +38,6 @@ extern int openpty (int *__amaster, int *__aslave, char *__name,
extern int forkpty (int *__amaster, char *__name,
struct termios *__termp, struct winsize *__winp);
+__END_DECLS
+
#endif /* pty.h */