/* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland * All rights reserved * This file includes most of the needed system headers. * * As far as I am concerned, the code I have written for this software * can be used freely for any purpose. Any derived versions of this * software must be clearly marked as such, and if the derived work is * incompatible with the protocol description in the RFC file, it must be * called by a name other than "ssh" or "Secure Shell". */ #ifndef INCLUDES_H #define INCLUDES_H #define RCSID(msg) \ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } #include "config.h" #include "next-posix.h" #include #include #include #include #include #ifndef HAVE_CYGWIN #include #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef HAVE_CYGWIN #include #endif #ifdef HAVE_BSTRING_H # include #endif #ifdef HAVE_NETGROUP_H # include #endif #if defined(HAVE_NETDB_H) && !defined(HAVE_NEXT) /* Next includes this as part of another header */ # include #endif #ifdef HAVE_ENDIAN_H # include #endif #ifdef HAVE_SYS_SELECT_H # include #endif #ifdef HAVE_SYS_TIME_H # include #endif #ifdef HAVE_SYS_BSDTTY_H # include #endif #ifdef HAVE_TTYENT_H # include #endif #ifdef USE_PAM # include #endif #ifdef HAVE_POLL_H # include #else # ifdef HAVE_SYS_POLL_H # include # endif #endif #ifdef HAVE_SYS_SYSMACROS_H # include #endif #include "version.h" /* OpenBSD function replacements */ #include "openbsd-compat.h" /* Entropy collection */ #include "entropy.h" /* Define this to be the path of the xauth program. */ #ifndef XAUTH_PATH #define XAUTH_PATH "/usr/X11R6/bin/xauth" #endif /* XAUTH_PATH */ /* Define this to be the path of the rsh program. */ #ifndef _PATH_RSH #define _PATH_RSH "/usr/bin/rsh" #endif /* _PATH_RSH */ /* * Define this to use pipes instead of socketpairs for communicating with the * client program. Socketpairs do not seem to work on all systems. */ /* #define USE_PIPES 1 */ #ifdef HAVE_CYGWIN #define open binary_open #define pipe binary_pipe extern int binary_open(); extern int binary_pipe(); #endif #endif /* INCLUDES_H */