From: Wilfried Goesgens Date: Thu, 17 May 2012 09:49:26 +0000 (+0200) Subject: openbsd compatibility: add NS_GET16 workaround. X-Git-Tag: v8.11~9 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=d06cc2d4cd575288a9a566ec8a9e6ef2da55adff openbsd compatibility: add NS_GET16 workaround. --- diff --git a/citadel/locate_host.c b/citadel/locate_host.c index e04ce71cb..fa8cfad2f 100644 --- a/citadel/locate_host.c +++ b/citadel/locate_host.c @@ -62,6 +62,10 @@ #define NS_INT16SZ INT16SZ #define NS_INT32SZ INT32SZ #endif +#ifndef NS_GET16 +# define NS_GET16 GETSHORT +#endif + /** END:some missing macros on OpenBSD 3.9 */ /*