diff options
author | Tim Rice <tim@multitalents.net> | 2003-09-08 06:33:33 -0700 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2003-09-08 06:33:33 -0700 |
commit | 0ac16a449218a88885f7b10bfb706c62e246496a (patch) | |
tree | 55fe451a35b7aa39429c11af9279d01e0f9744f0 /openbsd-compat/getrrsetbyname.c | |
parent | 167bd9cfef47736fdda2cc428802303d32cce9dc (diff) | |
download | openssh-git-0ac16a449218a88885f7b10bfb706c62e246496a.tar.gz |
[configure.ac openbsd-compat/getrrsetbyname.c] wrap _getshort and
_getlong in #ifndef
Diffstat (limited to 'openbsd-compat/getrrsetbyname.c')
-rw-r--r-- | openbsd-compat/getrrsetbyname.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsd-compat/getrrsetbyname.c b/openbsd-compat/getrrsetbyname.c index 3ba54e0d..3f75590e 100644 --- a/openbsd-compat/getrrsetbyname.c +++ b/openbsd-compat/getrrsetbyname.c @@ -130,6 +130,7 @@ static int count_dns_rr(struct dns_rr *, u_int16_t, u_int16_t); * Routines to insert/extract short/long's. */ +#ifndef HAVE__GETSHORT static u_int16_t _getshort(msgp) register const u_char *msgp; @@ -139,7 +140,9 @@ _getshort(msgp) GETSHORT(u, msgp); return (u); } +#endif +#ifndef HAVE__GETLONG static u_int32_t _getlong(msgp) register const u_char *msgp; @@ -149,6 +152,7 @@ _getlong(msgp) GETLONG(u, msgp); return (u); } +#endif int getrrsetbyname(const char *hostname, unsigned int rdclass, |