]> andersk Git - gssapi-openssh.git/blame - openssh/includes.h
renamed getopt exported variables in openbsd-compat library with BSD
[gssapi-openssh.git] / openssh / includes.h
CommitLineData
fba0463d 1/* $OpenBSD: includes.h,v 1.17 2002/01/26 16:44:22 stevesk Exp $ */
3c0ef626 2
3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
5 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
6 * All rights reserved
7 * This file includes most of the needed system headers.
8 *
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".
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 "openbsd-compat/bsd-nextstep.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/resource.h>
31
32#include <netinet/tcp.h>
33#include <arpa/inet.h>
34
35#include <stdio.h>
36#include <ctype.h>
37#include <errno.h>
38#include <fcntl.h>
39#include <signal.h>
40#include <stdlib.h>
41#include <string.h>
42#include <stdarg.h>
43#include <pwd.h>
44#include <grp.h>
45#include <time.h>
46#include <dirent.h>
47
48#ifdef HAVE_LIMITS_H
49# include <limits.h>
50#endif
51#ifdef HAVE_GETOPT_H
52# include <getopt.h>
53#endif
54#ifndef HAVE_GETOPT_OPTRESET
55#define getopt(ac, av, o) BSDgetopt(ac, av, o)
fba0463d 56#define opterr BSDopterr
57#define optind BSDoptind
58#define optopt BSDoptopt
59#define optreset BSDoptreset
60#define optarg BSDoptarg
3c0ef626 61#endif
62#ifdef HAVE_BSTRING_H
63# include <bstring.h>
64#endif
65#if defined(HAVE_GLOB_H) && defined(GLOB_HAS_ALTDIRFUNC) && \
66 defined(GLOB_HAS_GL_MATCHC)
67# include <glob.h>
68#endif
69#ifdef HAVE_NETGROUP_H
70# include <netgroup.h>
71#endif
72#if defined(HAVE_NETDB_H)
73# include <netdb.h>
74#endif
75#ifdef HAVE_ENDIAN_H
76# include <endian.h>
77#endif
78#ifdef HAVE_SYS_SELECT_H
79# include <sys/select.h>
80#endif
81#ifdef HAVE_SYS_TIME_H
82# include <sys/time.h>
83#endif
84#ifdef HAVE_SYS_BSDTTY_H
85# include <sys/bsdtty.h>
86#endif
87#ifdef HAVE_TTYENT_H
88# include <ttyent.h>
89#endif
90#ifdef USE_PAM
91# include <security/pam_appl.h>
92#endif
93#ifdef HAVE_POLL_H
94# include <poll.h>
95#else
96# ifdef HAVE_SYS_POLL_H
97# include <sys/poll.h>
98# endif
99#endif
100#ifdef HAVE_SYS_SYSMACROS_H
101# include <sys/sysmacros.h>
102#endif
103#ifdef HAVE_UTIME_H
104# include <utime.h>
105#endif
106#include "version.h"
107#include "openbsd-compat/openbsd-compat.h"
108#include "openbsd-compat/bsd-cygwin_util.h"
109#include "entropy.h"
110
111#endif /* INCLUDES_H */
This page took 0.10205 seconds and 5 git commands to generate.