From aa2b88c211d186d0f59ce3aa776ca513106fb834 Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Tue, 1 May 2001 23:12:34 +0000 Subject: [PATCH] SIOCGIFCONF API doesn't work properly on sparc. --- includes/cf/linux.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/cf/linux.h b/includes/cf/linux.h index 0d1e7a4e..7ce3e4c7 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