projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
openbsd compatibility: add NS_GET16 workaround.
[citadel.git]
/
citadel
/
locate_host.c
diff --git
a/citadel/locate_host.c
b/citadel/locate_host.c
index e04ce71cb4f233747fc66dbc2743e5cc15fc1bf5..fa8cfad2f0f3d0bccd75e3e6d2ecb2fce1150ec9 100644
(file)
--- 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 */
/*