blob: e2a0ea3b674bd7b87ca8cf0642c331551d544600 [file] [log] [blame]
Damien Millerd4a8b7e1999-10-27 13:42:43 +10001/*
2
3includes.h
4
5Author: Tatu Ylonen <ylo@cs.hut.fi>
6
7Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8 All rights reserved
9
10Created: Thu Mar 23 16:29:37 1995 ylo
11
12This 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 <sys/types.h>
23#include <sys/socket.h>
24#include <sys/select.h>
25#include <sys/param.h>
26#include <sys/ioctl.h>
27#include <sys/stat.h>
28#include <sys/wait.h>
29#include <sys/time.h>
30#include <sys/un.h>
31#include <sys/resource.h>
32
33#include <netinet/in.h>
34#include <netinet/in_systm.h>
35#include <netinet/tcp.h>
36#include <netinet/ip.h>
37#include <arpa/inet.h>
38#include <netdb.h>
39
Damien Millerd4a8b7e1999-10-27 13:42:43 +100040#include <stdio.h>
41#include <ctype.h>
42#include <errno.h>
43#include <fcntl.h>
Damien Millerd4a8b7e1999-10-27 13:42:43 +100044#include <signal.h>
45#include <termios.h>
46#include <stdlib.h>
47#include <string.h>
48#include <stdarg.h>
49#include <pwd.h>
50#include <grp.h>
51#include <unistd.h>
52#include <time.h>
Damien Millerd4a8b7e1999-10-27 13:42:43 +100053#include <dirent.h>
54
Damien Miller06230761999-10-28 14:03:14 +100055#include "config.h"
56
Damien Miller3bd49ec1999-11-15 15:40:55 +110057#ifdef HAVE_NETGROUP_H
58# include <netgroup.h>
59#endif
Damien Millerab18c411999-11-11 10:40:23 +110060#ifdef HAVE_PATHS_H
61# include <paths.h>
62#endif
63#ifdef HAVE_ENDIAN_H
64# include <endian.h>
65#endif
66
67#include "version.h"
Damien Millerd4a8b7e1999-10-27 13:42:43 +100068#include "helper.h"
69#include "mktemp.h"
70#include "strlcpy.h"
71
Damien Miller06230761999-10-28 14:03:14 +100072#ifdef HAVE_LIBPAM
Damien Miller332e67f1999-10-27 23:42:05 +100073#include <security/pam_appl.h>
74#endif /* HAVE_PAM */
75
Damien Millerd4a8b7e1999-10-27 13:42:43 +100076/* Define this to be the path of the xauth program. */
77#ifndef XAUTH_PATH
78#define XAUTH_PATH "/usr/X11R6/bin/xauth"
79#endif /* XAUTH_PATH */
80
81/* Define this to be the path of the rsh program. */
82#ifndef _PATH_RSH
83#define _PATH_RSH "/usr/bin/rsh"
84#endif /* _PATH_RSH */
85
86/* Define this to use pipes instead of socketpairs for communicating with the
87 client program. Socketpairs do not seem to work on all systems. */
88#define USE_PIPES 1
89
Damien Millerd4a8b7e1999-10-27 13:42:43 +100090#endif /* INCLUDES_H */