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