projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c6b3e6f
)
openbsd compatibility: add NS_GET16 workaround.
author
Wilfried Goesgens
<dothebart@citadel.org>
Thu, 17 May 2012 09:49:26 +0000
(11:49 +0200)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Thu, 17 May 2012 09:49:26 +0000
(11:49 +0200)
citadel/locate_host.c
patch
|
blob
|
history
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 */
/*