From d06cc2d4cd575288a9a566ec8a9e6ef2da55adff Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Thu, 17 May 2012 11:49:26 +0200 Subject: [PATCH] openbsd compatibility: add NS_GET16 workaround. --- citadel/locate_host.c | 4 ++++ 1 file changed, 4 insertions(+) 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 */ /* -- 2.30.2