From 2f0e18fc7d009dba47f3a9d6b88f319316909d88 Mon Sep 17 00:00:00 2001
From: Masahide NAKAMURA <nakam@linux-ipv6.org>
Date: Tue, 13 Feb 2007 15:46:23 +0900
Subject: [KERNELIF]: Fix to specify socket header.

Kernel removes a wrong code about non glibc case at 2.6.21-rc1.
It says application should be worrying about it.
See the detail:
commit 57a87bb0720a5cf7a9ece49a8c8ed288398fd1bb
on Linus's kernel tree.
---
 configure.ac |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index a9b1208..8a9f247 100644
--- a/configure.ac
+++ b/configure.ac
@@ -154,7 +154,8 @@ AC_CHECK_DECLS([IFA_F_HOMEADDRESS],,
 *** If working Linux kernel headers are not in the default include path,
 *** please use CPPFLAGS variable to specify where they can be found 
 *** (e.g. CPPFLAGS="-isystem /usr/src/linux/include")
-])], [#include <linux/if_addr.h>])
+])], [#include <sys/socket.h>
+#include <linux/if_addr.h>])
 
 AC_MSG_NOTICE([*** checking for Mobile IPv6 extensions in system headers])
 AC_CHECK_HEADERS([netinet/in.h netinet/ip6.h netinet/icmp6.h netinet/ip6mh.h])
-- 
1.5.0.3

