--- ntop-starting/acconfig.h	Fri May 31 10:18:34 2002
+++ ntop-current/acconfig.h	Fri Jun  7 15:53:44 2002
@@ -127,3 +127,6 @@
 #undef NTOP_BIG_ENDIAN
 
+/* Define for sFlowPlugin.c to define in6_addr for environments that don't have it... */
+#undef HAVE_IN6_ADDR
+
 #endif /* _CONFIG_H_ */
--- ntop-starting/config.h.in	Tue May 21 08:30:56 2002
+++ ntop-current/config.h.in	Fri Jun  7 15:54:34 2002
@@ -84,4 +87,7 @@
 #undef NTOP_BIG_ENDIAN
 
+/* Define for sFlowPlugin.c to define in6_addr for environments that don't have it... */
+#undef HAVE_IN6_ADDR
+
 /* Define if you have the ctime_r function.  */
 #undef HAVE_CTIME_R
--- ntop-starting/configure.in	Thu Jun  6 17:23:01 2002
+++ ntop-current/configure.in	Fri Jun  7 15:53:53 2002
@@ -483,4 +483,9 @@
 fi
 
+dnl>
+dnl> check for ip6 address used by sFlow...
+dnl>
+AC_CHECK_TYPEDEF(in6_addr, netinet/ip.h)
+
 dnl> OPTIONAL tcp wrapper headers
 AC_CHECK_HEADERS(tcpd.h syslog.h sys/syslog.h)
--- ntop-starting/plugins/sflowPlugin.c	Tue May  7 11:05:13 2002
+++ ntop-current/plugins/sflowPlugin.c	Fri Jun  7 15:54:28 2002
@@ -159,5 +159,5 @@
 
 
-#ifdef SFT_NEED_IN6ADDR
+#ifndef HAVE_IN6_ADDR
 struct in6_addr
 {
@@ -172,5 +172,5 @@
 #define s6_addr32 in6_u.u6_addr32
 };
-#endif /* SFT_NEED_IN6ADDR */
+#endif /* HAVE_IN6_ADDR */
 
 #ifdef WIN32
