/* * port.h General include file that includes all necessary files * for the configured system. This is a general file, * not application dependent. It maybe a bit of overhead * but simplifies porting greatly. * * $Id: port.h,v 1.10 2009-06-06 18:50:42 al-guest Exp $ * * This file is part of the minicom communications package, * Copyright 1991-1995 Miquel van Smoorenburg. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifdef ISC # include #endif #ifdef HAVE_SYS_PARAM_H # include #endif #include #ifdef HAVE_UNISTD_H # include # include #else char *getenv(void); #endif #ifdef HAVE_TERMCAP_H # include #endif #ifdef HAVE_NCURSES_TERMCAP_H # include #endif #ifdef _UWIN2P0 # include # define MAXNAMLEN 80 #endif #include #include #include #include #ifdef _MINIX #include #else #include #include #endif #include #include #include #include #include #if defined(_BSD43) || defined(_SYSV) || (defined(BSD) && (BSD >= 199103)) # define NOSTREAMS # include #endif #ifndef _NSIG # ifndef NSIG # define _NSIG 31 # else # define _NSIG NSIG # endif #endif /* Enable music routines. Could we use defined(i386) here? */ #if defined(__linux__) || defined(_SCO) # define VC_MUSIC 1 # include # include #endif extern char **environ;