openbsd compatibility: add NS_GET16 workaround.
authorWilfried Goesgens <dothebart@citadel.org>
Thu, 17 May 2012 09:49:26 +0000 (11:49 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Thu, 17 May 2012 09:49:26 +0000 (11:49 +0200)
citadel/locate_host.c

index e04ce71cb4f233747fc66dbc2743e5cc15fc1bf5..fa8cfad2f0f3d0bccd75e3e6d2ecb2fce1150ec9 100644 (file)
 #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 */
 
 /*