From 843571810dc644b78fe41869821f2d1bb402a55d Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Fri, 14 Feb 2003 07:56:22 +0000 Subject: [PATCH] Removed dependancies from be_setup.h (since we don't have this header in our repository) git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2704 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/termios.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/headers/posix/termios.h b/headers/posix/termios.h index 3753715072..35771adf9d 100644 --- a/headers/posix/termios.h +++ b/headers/posix/termios.h @@ -5,7 +5,6 @@ ** Distributed under the terms of the OpenBeOS License. */ -#include #include #include @@ -199,7 +198,9 @@ struct winsize { /* for the TIOCGWINSZ ioctl */ #define TCGB_DCD 0x08 -__extern_c_start +#ifdef __cplusplus +extern "C" { +#endif #define tcgetattr(f, t) ioctl(f, TCGETA, (char *)t) @@ -242,6 +243,8 @@ int tcflush(int fd, int queue_selector); int tcsetpgrp(int fd, pid_t pgrpid); pid_t tcgetpgrp(int fd); -__extern_c_end +#ifdef __cplusplus +} +#endif #endif /* _TERMIOS_H_ */