summaryrefslogtreecommitdiff
path: root/other/openssh-2.1.1p4/includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'other/openssh-2.1.1p4/includes.h')
-rw-r--r--other/openssh-2.1.1p4/includes.h111
1 files changed, 111 insertions, 0 deletions
diff --git a/other/openssh-2.1.1p4/includes.h b/other/openssh-2.1.1p4/includes.h
new file mode 100644
index 0000000..2f3a56e
--- /dev/null
+++ b/other/openssh-2.1.1p4/includes.h
@@ -0,0 +1,111 @@
1/*
2 *
3 * includes.h
4 *
5 * Author: Tatu Ylonen <ylo@cs.hut.fi>
6 *
7 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8 * All rights reserved
9 *
10 * Created: Thu Mar 23 16:29:37 1995 ylo
11 *
12 * This file includes most of the needed system headers.
13 *
14 */
15
16#ifndef INCLUDES_H
17#define INCLUDES_H
18
19#define RCSID(msg) \
20static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
21
22#include "config.h"
23
24#include "next-posix.h"
25
26#include <sys/types.h>
27#include <sys/socket.h>
28#include <sys/ioctl.h>
29#include <sys/wait.h>
30#include <sys/un.h>
31#include <sys/resource.h>
32
33#include <netinet/tcp.h>
34#include <arpa/inet.h>
35#include <netdb.h>
36
37#include <stdio.h>
38#include <ctype.h>
39#include <errno.h>
40#include <fcntl.h>
41#include <signal.h>
42#include <termios.h>
43#include <stdlib.h>
44#include <string.h>
45#include <stdarg.h>
46#include <pwd.h>
47#include <grp.h>
48#include <time.h>
49#include <dirent.h>
50
51#ifdef HAVE_BSTRING_H
52# include <bstring.h>
53#endif
54#ifdef HAVE_NETGROUP_H
55# include <netgroup.h>
56#endif
57#if defined(HAVE_NETDB_H) && !defined(HAVE_NEXT)
58/* Next includes this as part of another header */
59# include <netdb.h>
60#endif
61#ifdef HAVE_ENDIAN_H
62# include <endian.h>
63#endif
64#ifdef HAVE_SYS_SELECT_H
65# include <sys/select.h>
66#endif
67#ifdef HAVE_SYS_TIME_H
68# include <sys/time.h>
69#endif
70#ifdef HAVE_SYS_BSDTTY_H
71# include <sys/bsdtty.h>
72#endif
73#ifdef USE_PAM
74# include <security/pam_appl.h>
75#endif
76#ifdef HAVE_POLL_H
77# include <poll.h>
78#else
79# ifdef HAVE_SYS_POLL_H
80# include <sys/poll.h>
81# endif
82#endif
83#ifdef HAVE_SYS_SYSMACROS_H
84# include <sys/sysmacros.h>
85#endif
86
87#include "version.h"
88
89/* OpenBSD function replacements */
90#include "openbsd-compat.h"
91
92/* Entropy collection */
93#include "entropy.h"
94
95/* Define this to be the path of the xauth program. */
96#ifndef XAUTH_PATH
97#define XAUTH_PATH "/usr/X11R6/bin/xauth"
98#endif /* XAUTH_PATH */
99
100/* Define this to be the path of the rsh program. */
101#ifndef _PATH_RSH
102#define _PATH_RSH "/usr/bin/rsh"
103#endif /* _PATH_RSH */
104
105/*
106 * Define this to use pipes instead of socketpairs for communicating with the
107 * client program. Socketpairs do not seem to work on all systems.
108 */
109/* #define USE_PIPES 1 */
110
111#endif /* INCLUDES_H */