blob: 75349cf3efee80ce16d19a663575f892cd2d9d33 [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
Damien Miller4874c791999-11-16 13:29:26 +110022#include "config.h"
23
Damien Millerd4a8b7e1999-10-27 13:42:43 +100024#include <sys/types.h>
25#include <sys/socket.h>
Damien Millerd4a8b7e1999-10-27 13:42:43 +100026#include <sys/param.h>
27#include <sys/ioctl.h>
28#include <sys/stat.h>
29#include <sys/wait.h>
30#include <sys/time.h>
31#include <sys/un.h>
32#include <sys/resource.h>
33
34#include <netinet/in.h>
35#include <netinet/in_systm.h>
36#include <netinet/tcp.h>
37#include <netinet/ip.h>
38#include <arpa/inet.h>
39#include <netdb.h>
40
Damien Millerd4a8b7e1999-10-27 13:42:43 +100041#include <stdio.h>
42#include <ctype.h>
43#include <errno.h>
44#include <fcntl.h>
Damien Millerd4a8b7e1999-10-27 13:42:43 +100045#include <signal.h>
46#include <termios.h>
47#include <stdlib.h>
48#include <string.h>
49#include <stdarg.h>
50#include <pwd.h>
51#include <grp.h>
52#include <unistd.h>
53#include <time.h>
Damien Millerd4a8b7e1999-10-27 13:42:43 +100054#include <dirent.h>
55
Damien Miller3bd49ec1999-11-15 15:40:55 +110056#ifdef HAVE_NETGROUP_H
57# include <netgroup.h>
58#endif
Damien Millerab18c411999-11-11 10:40:23 +110059#ifdef HAVE_PATHS_H
60# include <paths.h>
61#endif
62#ifdef HAVE_ENDIAN_H
63# include <endian.h>
64#endif
Damien Miller4874c791999-11-16 13:29:26 +110065#ifdef HAVE_SYS_SELECT_H
66# include <sys/select.h>
67#endif
68#ifdef HAVE_LIBPAM
69# include <security/pam_appl.h>
70#endif /* HAVE_PAM */
Damien Millerab18c411999-11-11 10:40:23 +110071
72#include "version.h"
Damien Millerd4a8b7e1999-10-27 13:42:43 +100073#include "helper.h"
74#include "mktemp.h"
75#include "strlcpy.h"
76
77/* Define this to be the path of the xauth program. */
78#ifndef XAUTH_PATH
79#define XAUTH_PATH "/usr/X11R6/bin/xauth"
80#endif /* XAUTH_PATH */
81
82/* Define this to be the path of the rsh program. */
83#ifndef _PATH_RSH
84#define _PATH_RSH "/usr/bin/rsh"
85#endif /* _PATH_RSH */
86
87/* Define this to use pipes instead of socketpairs for communicating with the
88 client program. Socketpairs do not seem to work on all systems. */
89#define USE_PIPES 1
90
Damien Millerd4a8b7e1999-10-27 13:42:43 +100091#endif /* INCLUDES_H */