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)
60 #if defined(HAVE_GLOB_H) && defined(GLOB_HAS_ALTDIRFUNC) && \
61 defined(GLOB_HAS_GL_MATCHC)
64 #ifdef HAVE_NETGROUP_H
65 # include <netgroup.h>
67 #if defined(HAVE_NETDB_H)
73 #ifdef HAVE_SYS_SELECT_H
74 # include <sys/select.h>
76 #ifdef HAVE_SYS_TIME_H
77 # include <sys/time.h>
79 #ifdef HAVE_SYS_BSDTTY_H
80 # include <sys/bsdtty.h>
86 # include <security/pam_appl.h>
88 #ifdef HAVE_SYS_SYSMACROS_H
89 # include <sys/sysmacros.h>
95 #include "openbsd-compat/openbsd-compat.h"
96 #include "openbsd-compat/bsd-cygwin_util.h"
100 # define MAP_FAILED ((void *)-1)
103 #endif /* INCLUDES_H */