X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/ac7015f3b6530ffda6bbf961cf5d9e85460edfa8..fe30cc2ec54595f90565db4df267c84cfd695d36:/includes.h diff --git a/includes.h b/includes.h index 8fa174bd..716d02f3 100644 --- a/includes.h +++ b/includes.h @@ -1,17 +1,17 @@ /* - -includes.h - -Author: Tatu Ylonen - -Copyright (c) 1995 Tatu Ylonen , Espoo, Finland - All rights reserved - -Created: Thu Mar 23 16:29:37 1995 ylo - -This file includes most of the needed system headers. - -*/ + * + * includes.h + * + * Author: Tatu Ylonen + * + * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland + * All rights reserved + * + * Created: Thu Mar 23 16:29:37 1995 ylo + * + * This file includes most of the needed system headers. + * + */ #ifndef INCLUDES_H #define INCLUDES_H @@ -19,30 +19,25 @@ This file includes most of the needed system headers. #define RCSID(msg) \ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } +#include "config.h" + +#include "next-posix.h" + #include #include -#include -#include #include -#include #include -#include #include #include -#include -#include #include -#include #include #include -#include #include #include #include #include -#include #include #include #include @@ -50,16 +45,51 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } #include #include #include -#include #include -#include #include +#ifdef HAVE_BSTRING_H +# include +#endif +#ifdef HAVE_NETGROUP_H +# include +#endif +#ifdef HAVE_NETDB_H +# 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 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" -#include "helper.h" -#include "mktemp.h" -#include "strlcpy.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 @@ -71,14 +101,10 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } #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 - -#ifndef SHUT_RD -#define SHUT_RD 0 -#define SHUT_WR 1 -#define SHUT_RDWR 2 -#endif /* SHUT_RD */ +/* + * 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 */ -#endif /* INCLUDES_H */ +#endif /* INCLUDES_H */