X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Flocate_host.c;fp=citadel%2Flocate_host.c;h=e04ce71cb4f233747fc66dbc2743e5cc15fc1bf5;hp=2a7568b232e4ce1fbb05d6f05c7e88fe154ccf1c;hb=8ea4feb1accb732d1ce7a208f8139c8ee91777dc;hpb=1aa51c5b5260e04c08fd59b58815129db4f4bf32 diff --git a/citadel/locate_host.c b/citadel/locate_host.c index 2a7568b23..e04ce71cb 100644 --- a/citadel/locate_host.c +++ b/citadel/locate_host.c @@ -51,6 +51,18 @@ #include #endif +/** START:some missing macros on OpenBSD 3.9 */ +#ifndef NS_CMPRSFLGS +#define NS_CMPRSFLGS 0xc0 +#endif +#if !defined(NS_MAXCDNAME) && defined (MAXCDNAME) +#define NS_MAXCDNAME MAXCDNAME +#endif +#if !defined(NS_INT16SZ) && defined(INT16SZ) +#define NS_INT16SZ INT16SZ +#define NS_INT32SZ INT32SZ +#endif +/** END:some missing macros on OpenBSD 3.9 */ /* * Given an open client socket, return the host name and IP address at the other end.