1 /* 2 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * All rights reserved 5 * This file includes most of the needed system headers. 6 * 7 * As far as I am concerned, the code I have written for this software 8 * can be used freely for any purpose. Any derived versions of this 9 * software must be clearly marked as such, and if the derived work is 10 * incompatible with the protocol description in the RFC file, it must be 11 * called by a name other than "ssh" or "Secure Shell". 12 * 13 * $FreeBSD$ 14 */ 15 16 #ifndef INCLUDES_H 17 #define INCLUDES_H 18 19 #define RCSID(msg) __RCSID(msg) 20 21 #include <sys/types.h> 22 #include <sys/socket.h> 23 #include <sys/select.h> 24 #include <sys/param.h> 25 #include <sys/ioctl.h> 26 #include <sys/stat.h> 27 #include <sys/wait.h> 28 #include <sys/time.h> 29 #include <sys/un.h> 30 #include <sys/resource.h> 31 #include <machine/endian.h> 32 33 #include <netinet/in.h> 34 #include <netinet/in_systm.h> 35 #include <netinet/tcp.h> 36 #include <netinet/ip.h> 37 #include <arpa/inet.h> 38 #include <netdb.h> 39 40 #include <stdio.h> 41 #include <ctype.h> 42 #include <errno.h> 43 #include <fcntl.h> 44 #include <signal.h> 45 #include <termios.h> 46 #include <stdlib.h> 47 #include <string.h> 48 #include <stdarg.h> 49 #include <pwd.h> 50 #include <grp.h> 51 #include <unistd.h> 52 #include <time.h> 53 #include <paths.h> 54 #include <dirent.h> 55 56 #include "version.h" 57 58 /* Define this to be the path of the xauth program. */ 59 #ifndef XAUTH_PATH 60 #define XAUTH_PATH "/usr/X11R6/bin/xauth" 61 #endif 62 63 /* 64 * Define this to use pipes instead of socketpairs for communicating with the 65 * client program. Socketpairs do not seem to work on all systems. 66 * Although pipes are bi-directional in FreeBSD, using pipes here will 67 * make <stdin> uni-directional ! 68 */ 69 /* #define USE_PIPES 1 */ 70 71 #endif /* INCLUDES_H */ 72