]> andersk Git - openssh.git/blame - includes.h
- (stevesk) OpenBSD CVS sync X11 localhost display
[openssh.git] / includes.h
CommitLineData
fd9ede94 1/* $OpenBSD: includes.h,v 1.15 2001/06/08 15:25:40 markus Exp $ */
23c2a7a5 2
8efc0c15 3/*
5260325f 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
5260325f 5 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
6 * All rights reserved
5260325f 7 * This file includes most of the needed system headers.
6ae2364d 8 *
bcbf86ec 9 * As far as I am concerned, the code I have written for this software
10 * can be used freely for any purpose. Any derived versions of this
11 * software must be clearly marked as such, and if the derived work is
12 * incompatible with the protocol description in the RFC file, it must be
13 * called by a name other than "ssh" or "Secure Shell".
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
84ceda19 24#include "openbsd-compat/bsd-nextstep.h"
729bfe59 25
8efc0c15 26#include <sys/types.h>
27#include <sys/socket.h>
8efc0c15 28#include <sys/ioctl.h>
8efc0c15 29#include <sys/wait.h>
8efc0c15 30#include <sys/resource.h>
c9d0ad9b 31#include <sys/utsname.h>
8efc0c15 32
8efc0c15 33#include <netinet/tcp.h>
8efc0c15 34#include <arpa/inet.h>
8efc0c15 35
8efc0c15 36#include <stdio.h>
37#include <ctype.h>
38#include <errno.h>
39#include <fcntl.h>
8efc0c15 40#include <signal.h>
8efc0c15 41#include <stdlib.h>
42#include <string.h>
43#include <stdarg.h>
44#include <pwd.h>
45#include <grp.h>
8efc0c15 46#include <time.h>
8efc0c15 47#include <dirent.h>
2f125ca1 48
6f68f28a 49#ifdef HAVE_LIMITS_H
50# include <limits.h>
51#endif
2f125ca1 52#ifdef HAVE_GETOPT_H
6f68f28a 53# include <getopt.h>
3c62e7eb 54#endif
cb547f98 55#ifndef HAVE_GETOPT_OPTRESET
56#define getopt(ac, av, o) BSDgetopt(ac, av, o)
57#endif
d94aa2ae 58#ifdef HAVE_BSTRING_H
59# include <bstring.h>
2b87da3b 60#endif
40849fdb 61#if defined(HAVE_GLOB_H) && defined(GLOB_HAS_ALTDIRFUNC) && \
62 defined(GLOB_HAS_GL_MATCHC)
84ceda19 63# include <glob.h>
64#endif
c75a1a66 65#ifdef HAVE_NETGROUP_H
66# include <netgroup.h>
2b87da3b 67#endif
0dd78cd8 68#if defined(HAVE_NETDB_H)
d94aa2ae 69# include <netdb.h>
2b87da3b 70#endif
4cca272e 71#ifdef HAVE_ENDIAN_H
72# include <endian.h>
73#endif
793edc37 74#ifdef HAVE_SYS_SELECT_H
75# include <sys/select.h>
76#endif
b09a984b 77#ifdef HAVE_SYS_TIME_H
78# include <sys/time.h>
79#endif
a7effaac 80#ifdef HAVE_SYS_BSDTTY_H
81# include <sys/bsdtty.h>
82#endif
dbaa2e87 83#ifdef HAVE_TTYENT_H
84# include <ttyent.h>
85#endif
d94aa2ae 86#ifdef USE_PAM
793edc37 87# include <security/pam_appl.h>
beb43d31 88#endif
a5c9cd31 89#ifdef HAVE_POLL_H
90# include <poll.h>
91#else
92# ifdef HAVE_SYS_POLL_H
93# include <sys/poll.h>
94# endif
95#endif
20af321f 96#ifdef HAVE_SYS_SYSMACROS_H
97# include <sys/sysmacros.h>
98#endif
89c7e31c 99#ifdef HAVE_UTIME_H
100# include <utime.h>
101#endif
4cca272e 102#include "version.h"
84ceda19 103#include "openbsd-compat/openbsd-compat.h"
104#include "openbsd-compat/bsd-cygwin_util.h"
35484284 105#include "entropy.h"
106
2f125ca1 107#endif /* INCLUDES_H */
This page took 0.12489 seconds and 5 git commands to generate.