diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-03-08 03:11:07 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-03-08 03:11:07 +0000 |
commit | 7577fd83c16ef3415b61ca1bea1b14e1ab8e4228 (patch) | |
tree | 893ffc249857b3f2bb4f166434efe05ac9405fb8 /defines.h | |
parent | dc16354aaaba0391b3feb465dba2a5c27ffce9ba (diff) |
- (bal) Add in check for rpc/types.h since it is needed on
some platforms for INADDR_LOOPBACK. We should retest
SCO 3 to see if this fixes their problem also.
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,7 +1,7 @@ #ifndef _DEFINES_H #define _DEFINES_H -/* $Id: defines.h,v 1.80 2002/02/26 16:40:49 tim Exp $ */ +/* $Id: defines.h,v 1.81 2002/03/08 03:11:08 mouring Exp $ */ /* Necessary headers */ @@ -11,6 +11,9 @@ #include <netinet/in_systm.h> /* For typedefs */ #include <netinet/in.h> /* For IPv6 macros */ #include <netinet/ip.h> /* For IPTOS macros */ +#ifdef HAVE_RPC_TYPES_H +# include <rpc/types.h> /* For INADDR_LOOPBACK */ +#endif #ifdef HAVE_SYS_UN_H # include <sys/un.h> /* For sockaddr_un */ #endif |