00001 #ifndef _system_terminal_h 00002 #define _system_terminal_h 00003 /* 00004 Unix SMB/CIFS implementation. 00005 00006 terminal system include wrappers 00007 00008 Copyright (C) Andrew Tridgell 2004 00009 00010 This program is free software; you can redistribute it and/or modify 00011 it under the terms of the GNU General Public License as published by 00012 the Free Software Foundation; either version 2 of the License, or 00013 (at your option) any later version. 00014 00015 This program is distributed in the hope that it will be useful, 00016 but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 GNU General Public License for more details. 00019 00020 You should have received a copy of the GNU General Public License 00021 along with this program; if not, write to the Free Software 00022 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00023 */ 00024 00025 #ifdef SUNOS4 00026 /* on SUNOS4 termios.h conflicts with sys/ioctl.h */ 00027 #undef HAVE_TERMIOS_H 00028 #endif 00029 00030 00031 #if defined(HAVE_TERMIOS_H) 00032 /* POSIX terminal handling. */ 00033 #include <termios.h> 00034 #elif defined(HAVE_TERMIO_H) 00035 /* Older SYSV terminal handling - don't use if we can avoid it. */ 00036 #include <termio.h> 00037 #elif defined(HAVE_SYS_TERMIO_H) 00038 /* Older SYSV terminal handling - don't use if we can avoid it. */ 00039 #include <sys/termio.h> 00040 #endif 00041 00042 #endif