diff options
Diffstat (limited to 'other/ssharp/includes.h')
| -rw-r--r-- | other/ssharp/includes.h | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/other/ssharp/includes.h b/other/ssharp/includes.h new file mode 100644 index 0000000..8b7bb0e --- /dev/null +++ b/other/ssharp/includes.h | |||
| @@ -0,0 +1,106 @@ | |||
| 1 | /* $OpenBSD: includes.h,v 1.14 2001/01/29 01:58:16 niklas Exp $ */ | ||
| 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) \ | ||
| 20 | static /**/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 | #ifdef HAVE_BSTRING_H | ||
| 55 | # include <bstring.h> | ||
| 56 | #endif | ||
| 57 | #if defined(HAVE_GLOB_H) && defined(GLOB_HAS_ALTDIRFUNC) && \ | ||
| 58 | defined(GLOB_HAS_GL_MATCHC) | ||
| 59 | # include <glob.h> | ||
| 60 | #endif | ||
| 61 | #ifdef HAVE_NETGROUP_H | ||
| 62 | # include <netgroup.h> | ||
| 63 | #endif | ||
| 64 | #if defined(HAVE_NETDB_H) | ||
| 65 | # include <netdb.h> | ||
| 66 | #endif | ||
| 67 | #ifdef HAVE_ENDIAN_H | ||
| 68 | # include <endian.h> | ||
| 69 | #endif | ||
| 70 | #ifdef HAVE_SYS_SELECT_H | ||
| 71 | # include <sys/select.h> | ||
| 72 | #endif | ||
| 73 | #ifdef HAVE_SYS_TIME_H | ||
| 74 | # include <sys/time.h> | ||
| 75 | #endif | ||
| 76 | #ifdef HAVE_SYS_BSDTTY_H | ||
| 77 | # include <sys/bsdtty.h> | ||
| 78 | #endif | ||
| 79 | #ifdef HAVE_TTYENT_H | ||
| 80 | # include <ttyent.h> | ||
| 81 | #endif | ||
| 82 | #ifdef USE_PAM | ||
| 83 | # include <security/pam_appl.h> | ||
| 84 | #endif | ||
| 85 | #ifdef HAVE_POLL_H | ||
| 86 | # include <poll.h> | ||
| 87 | #else | ||
| 88 | # ifdef HAVE_SYS_POLL_H | ||
| 89 | # include <sys/poll.h> | ||
| 90 | # endif | ||
| 91 | #endif | ||
| 92 | #ifdef HAVE_SYS_SYSMACROS_H | ||
| 93 | # include <sys/sysmacros.h> | ||
| 94 | #endif | ||
| 95 | #ifdef HAVE_UTIME_H | ||
| 96 | # include <utime.h> | ||
| 97 | #endif | ||
| 98 | #ifdef HAVE_VIS_H | ||
| 99 | # include <vis.h> | ||
| 100 | #endif | ||
| 101 | #include "version.h" | ||
| 102 | #include "openbsd-compat/openbsd-compat.h" | ||
| 103 | #include "openbsd-compat/bsd-cygwin_util.h" | ||
| 104 | #include "entropy.h" | ||
| 105 | |||
| 106 | #endif /* INCLUDES_H */ | ||
