1 /* $OpenBSD: includes.h,v 1.15 2001/06/08 15:25:40 markus 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>
31 #include <sys/utsname.h>
33 #include <netinet/tcp.h>
34 #include <arpa/inet.h>
55 #ifndef HAVE_GETOPT_OPTRESET
56 #define getopt(ac, av, o) BSDgetopt(ac, av, o)
61 #if defined(HAVE_GLOB_H) && defined(GLOB_HAS_ALTDIRFUNC) && \
62 defined(GLOB_HAS_GL_MATCHC)
65 #ifdef HAVE_NETGROUP_H
66 # include <netgroup.h>
68 #if defined(HAVE_NETDB_H)
74 #ifdef HAVE_SYS_SELECT_H
75 # include <sys/select.h>
77 #ifdef HAVE_SYS_TIME_H
78 # include <sys/time.h>
80 #ifdef HAVE_SYS_BSDTTY_H
81 # include <sys/bsdtty.h>
87 # include <security/pam_appl.h>
92 # ifdef HAVE_SYS_POLL_H
93 # include <sys/poll.h>
96 #ifdef HAVE_SYS_SYSMACROS_H
97 # include <sys/sysmacros.h>
103 #include "openbsd-compat/openbsd-compat.h"
104 #include "openbsd-compat/bsd-cygwin_util.h"
107 #endif /* INCLUDES_H */