diff options
author | Björn Jacke <bj@sernet.de> | 2010-11-26 02:17:14 +0100 |
---|---|---|
committer | Bjoern Jacke <bj@sernet.de> | 2010-11-26 03:07:21 +0100 |
commit | e52ba1fb87ff57052f460246c2026604a8f63bf2 (patch) | |
tree | 29f36e7c4e045076ad47de6a7b686e5fe494bba6 /librpc/ndr | |
parent | 4f27a644070ebfc5c6dcc177047eff0e492103cf (diff) | |
download | samba-e52ba1fb87ff57052f460246c2026604a8f63bf2.tar.gz samba-e52ba1fb87ff57052f460246c2026604a8f63bf2.tar.bz2 samba-e52ba1fb87ff57052f460246c2026604a8f63bf2.zip |
librpc: fix builds without IPv6 suport (HP-UX 11.00)
Kai, please check.
Autobuild-User: Björn Jacke <bj@sernet.de>
Autobuild-Date: Fri Nov 26 03:07:21 CET 2010 on sn-devel-104
Diffstat (limited to 'librpc/ndr')
-rw-r--r-- | librpc/ndr/ndr_basic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/librpc/ndr/ndr_basic.c b/librpc/ndr/ndr_basic.c index 31a8b9de6d..96f7323bfd 100644 --- a/librpc/ndr/ndr_basic.c +++ b/librpc/ndr/ndr_basic.c @@ -848,6 +848,7 @@ _PUBLIC_ void ndr_print_ipv4address(struct ndr_print *ndr, const char *name, ndr->print(ndr, "%-25s: %s", name, address); } +#ifdef AF_INET6 /* pull a ipv6address */ @@ -903,6 +904,7 @@ _PUBLIC_ void ndr_print_ipv6address(struct ndr_print *ndr, const char *name, ndr->print(ndr, "%-25s: %s", name, address); } #undef IPV6_BYTES +#endif _PUBLIC_ void ndr_print_struct(struct ndr_print *ndr, const char *name, const char *type) { |