]> andersk Git - openssh.git/blame - includes.h
- Moved all the bsd-* and fake-* stuff into new libopenbsd-compat.a
[openssh.git] / includes.h
CommitLineData
8efc0c15 1/*
6ae2364d 2 *
5260325f 3 * includes.h
6ae2364d 4 *
5260325f 5 * Author: Tatu Ylonen <ylo@cs.hut.fi>
6ae2364d 6 *
5260325f 7 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8 * All rights reserved
6ae2364d 9 *
5260325f 10 * Created: Thu Mar 23 16:29:37 1995 ylo
6ae2364d 11 *
5260325f 12 * This file includes most of the needed system headers.
6ae2364d 13 *
5260325f 14 */
8efc0c15 15
16#ifndef INCLUDES_H
17#define INCLUDES_H
18
19#define RCSID(msg) \
20static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
21
793edc37 22#include "config.h"
23
8efc0c15 24#include <sys/types.h>
25#include <sys/socket.h>
8efc0c15 26#include <sys/param.h>
27#include <sys/ioctl.h>
28#include <sys/stat.h>
29#include <sys/wait.h>
8efc0c15 30#include <sys/un.h>
31#include <sys/resource.h>
32
8efc0c15 33#include <netinet/tcp.h>
8efc0c15 34#include <arpa/inet.h>
35#include <netdb.h>
36
8efc0c15 37#include <stdio.h>
38#include <ctype.h>
39#include <errno.h>
40#include <fcntl.h>
8efc0c15 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 <unistd.h>
49#include <time.h>
8efc0c15 50#include <dirent.h>
51
d94aa2ae 52#ifdef HAVE_BSTRING_H
53# include <bstring.h>
54#endif
c75a1a66 55#ifdef HAVE_NETGROUP_H
56# include <netgroup.h>
57#endif
d94aa2ae 58#ifdef HAVE_NETDB_H
59# include <netdb.h>
60#endif
4cca272e 61#ifdef HAVE_PATHS_H
62# include <paths.h>
63#endif
64#ifdef HAVE_ENDIAN_H
65# include <endian.h>
66#endif
793edc37 67#ifdef HAVE_SYS_SELECT_H
68# include <sys/select.h>
69#endif
b09a984b 70#ifdef HAVE_SYS_TIME_H
71# include <sys/time.h>
72#endif
a7effaac 73#ifdef HAVE_SYS_BSDTTY_H
74# include <sys/bsdtty.h>
75#endif
d94aa2ae 76#ifdef USE_PAM
793edc37 77# include <security/pam_appl.h>
beb43d31 78#endif
a5c9cd31 79#ifdef HAVE_POLL_H
80# include <poll.h>
81#else
82# ifdef HAVE_SYS_POLL_H
83# include <sys/poll.h>
84# endif
85#endif
20af321f 86#ifdef HAVE_SYS_SYSMACROS_H
87# include <sys/sysmacros.h>
88#endif
4cca272e 89
90#include "version.h"
48e671d5 91
3dc1102e 92/* OpenBSD function replacements */
93#include "openbsd-compat.h"
48e671d5 94
35484284 95/* Entropy collection */
96#include "entropy.h"
97
8efc0c15 98/* Define this to be the path of the xauth program. */
99#ifndef XAUTH_PATH
100#define XAUTH_PATH "/usr/X11R6/bin/xauth"
101#endif /* XAUTH_PATH */
102
103/* Define this to be the path of the rsh program. */
104#ifndef _PATH_RSH
105#define _PATH_RSH "/usr/bin/rsh"
106#endif /* _PATH_RSH */
107
aa3378df 108/*
109 * Define this to use pipes instead of socketpairs for communicating with the
110 * client program. Socketpairs do not seem to work on all systems.
111 */
bc8c2601 112/* #define USE_PIPES 1 */
8efc0c15 113
5260325f 114#endif /* INCLUDES_H */
This page took 0.082483 seconds and 5 git commands to generate.