]> git.ipfire.org Git - thirdparty/squid.git/blob - lib/rfcnb/std-includes.h
Merge from trunk
[thirdparty/squid.git] / lib / rfcnb / std-includes.h
1 /* RFCNB Standard includes ... */
2 /*
3 *
4 * RFCNB Standard Includes
5 *
6 * Copyright (C) 1996, Richard Sharpe
7 */
8
9 /* One day we will conditionalize these on OS types ... */
10
11 /*
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25 */
26 #ifndef _RFCNB_STD_INCLUDES_H
27 #define _RFCNB_STD_INCLUDES_H
28
29 #define BOOL int
30 typedef short int16;
31
32 #if HAVE_NETDB_H
33 #include <netdb.h>
34 #endif
35 #include <sys/types.h>
36 #if HAVE_NETINET_IN_H
37 #include <netinet/in.h>
38 #endif
39 #if HAVE_SYS_SOCKET_H
40 #include <sys/socket.h>
41 #endif
42 #include <signal.h>
43 #include <errno.h>
44 #include <unistd.h>
45
46 #define TRUE 1
47 #define FALSE 0
48
49 /* Pick up define for INADDR_NONE */
50
51 #ifndef INADDR_NONE
52 #define INADDR_NONE -1
53 #endif
54
55 #endif /* _RFCNB_STD_INCLUDES_H */