Don't use typedefs on the VFS function data structures as
[Samba/nascimento.git] / lib / replace / system / terminal.h
blob9ad601ace08aec97cca137f90803f8b0b9329d43
1 #ifndef _system_terminal_h
2 #define _system_terminal_h
3 /*
4 Unix SMB/CIFS implementation.
6 terminal system include wrappers
8 Copyright (C) Andrew Tridgell 2004
10 ** NOTE! The following LGPL license applies to the replace
11 ** library. This does NOT imply that all of Samba is released
12 ** under the LGPL
14 This library is free software; you can redistribute it and/or
15 modify it under the terms of the GNU Lesser General Public
16 License as published by the Free Software Foundation; either
17 version 3 of the License, or (at your option) any later version.
19 This library is distributed in the hope that it will be useful,
20 but WITHOUT ANY WARRANTY; without even the implied warranty of
21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 Lesser General Public License for more details.
24 You should have received a copy of the GNU Lesser General Public
25 License along with this library; if not, see <http://www.gnu.org/licenses/>.
29 #ifdef SUNOS4
30 /* on SUNOS4 termios.h conflicts with sys/ioctl.h */
31 #undef HAVE_TERMIOS_H
32 #endif
35 #if defined(HAVE_TERMIOS_H)
36 /* POSIX terminal handling. */
37 #include <termios.h>
38 #elif defined(HAVE_TERMIO_H)
39 /* Older SYSV terminal handling - don't use if we can avoid it. */
40 #include <termio.h>
41 #elif defined(HAVE_SYS_TERMIO_H)
42 /* Older SYSV terminal handling - don't use if we can avoid it. */
43 #include <sys/termio.h>
44 #endif
46 #endif