From: Ted Lemon Date: Tue, 1 May 2001 23:12:34 +0000 (+0000) Subject: SIOCGIFCONF API doesn't work properly on sparc. X-Git-Tag: V3-RC5~39 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aa2b88c211d186d0f59ce3aa776ca513106fb834;p=thirdparty%2Fdhcp.git SIOCGIFCONF API doesn't work properly on sparc. --- diff --git a/includes/cf/linux.h b/includes/cf/linux.h index 0d1e7a4e5..7ce3e4c7c 100644 --- a/includes/cf/linux.h +++ b/includes/cf/linux.h @@ -124,7 +124,9 @@ extern int h_errno; # if defined (USE_DEFAULT_NETWORK) # define USE_LPF # endif -# define SIOCGIFCONF_NULL_BUF_GIVES_CORRECT_LEN +# if !defined (__sparc__) /* XXX hopefully this will be fixed someday */ +# define SIOCGIFCONF_NULL_BUF_GIVES_CORRECT_LEN +# endif # define LINUX_SLASHPROC_DISCOVERY # define PROCDEV_DEVICE "/proc/net/dev" # define HAVE_ARPHRD_TUNNEL