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 * $FreeBSD$ 16 */ 17 18 #ifndef INCLUDES_H 19 #define INCLUDES_H 20 21 #define RCSID(msg) __RCSID(msg) 22 23 #include <sys/types.h> 24 #include <sys/socket.h> 25 #include <sys/select.h> 26 #include <sys/param.h> 27 #include <sys/ioctl.h> 28 #include <sys/stat.h> 29 #include <sys/wait.h> 30 #include <sys/time.h> 31 #include <sys/un.h> 32 #include <sys/resource.h> 33 #include <machine/endian.h> 34 35 #include <netinet/in.h> 36 #include <netinet/in_systm.h> 37 #include <netinet/tcp.h> 38 #include <netinet/ip.h> 39 #include <arpa/inet.h> 40 #include <netdb.h> 41 42 #include <stdio.h> 43 #include <ctype.h> 44 #include <errno.h> 45 #include <fcntl.h> 46 #include <signal.h> 47 #include <termios.h> 48 #include <stdlib.h> 49 #include <string.h> 50 #include <stdarg.h> 51 #include <pwd.h> 52 #include <grp.h> 53 #include <unistd.h> 54 #include <time.h> 55 #include <paths.h> 56 #include <dirent.h> 57 58 #include "version.h" 59 60 /* Define this to be the path of the xauth program. */ 61 #ifndef XAUTH_PATH 62 #define XAUTH_PATH "/usr/X11R6/bin/xauth" 63 #endif 64 65 /* 66 * Define this to use pipes instead of socketpairs for communicating with the 67 * client program. Socketpairs do not seem to work on all systems. 68 * Although pipes are bi-directional in FreeBSD, using pipes here will 69 * make <stdin> uni-directional ! 70 */ 71 /* #define USE_PIPES 1 */ 72 73 #endif /* INCLUDES_H */ 74