1 /* $OpenBSD: includes.h,v 1.17 2002/01/26 16:44:22 stevesk Exp $ */
4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
5 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
7 * This file includes most of the needed system headers.
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".
20 static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
24 #include "openbsd-compat/bsd-nextstep.h"
26 #include <sys/types.h>
27 #include <sys/socket.h>
28 #include <sys/ioctl.h>
30 #include <sys/resource.h>
32 #include <netinet/tcp.h>
33 #include <arpa/inet.h>
54 #ifndef HAVE_GETOPT_OPTRESET
55 #define getopt(ac, av, o) BSDgetopt(ac, av, o)
56 #define opterr BSDopterr
57 #define optind BSDoptind
58 #define optopt BSDoptopt
59 #define optreset BSDoptreset
60 #define optarg BSDoptarg
65 #if defined(HAVE_GLOB_H) && defined(GLOB_HAS_ALTDIRFUNC) && \
66 defined(GLOB_HAS_GL_MATCHC)
69 #ifdef HAVE_NETGROUP_H
70 # include <netgroup.h>
72 #if defined(HAVE_NETDB_H)
78 #ifdef HAVE_SYS_SELECT_H
79 # include <sys/select.h>
81 #ifdef HAVE_SYS_TIME_H
82 # include <sys/time.h>
84 #ifdef HAVE_SYS_BSDTTY_H
85 # include <sys/bsdtty.h>
91 # include <security/pam_appl.h>
96 # ifdef HAVE_SYS_POLL_H
97 # include <sys/poll.h>
100 #ifdef HAVE_SYS_SYSMACROS_H
101 # include <sys/sysmacros.h>
107 #include "openbsd-compat/openbsd-compat.h"
108 #include "openbsd-compat/bsd-cygwin_util.h"
111 #endif /* INCLUDES_H */