From: Roy Marples Date: Sat, 12 Aug 2017 08:18:50 +0000 (+0100) Subject: Fix compile without INET. X-Git-Tag: v7.0.0-rc2~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1dbfb8880cd6c4084581024d875d7f5729ba9f7;p=thirdparty%2Fdhcpcd.git Fix compile without INET. --- diff --git a/src/dhcp-common.c b/src/dhcp-common.c index bf8e87a4..5d867797 100644 --- a/src/dhcp-common.c +++ b/src/dhcp-common.c @@ -669,7 +669,9 @@ print_option(char *s, size_t len, const struct dhcp_opt *opt, struct in_addr addr; ssize_t bytes = 0, sl; size_t l; +#ifdef INET char *tmp; +#endif if (opt->type & OT_RFC1035) { sl = decode_rfc1035(s, len, data, dl);