Index: config.hin --- config.hin.orig 2007-06-29 01:04:32 +0200 +++ config.hin 2007-07-10 08:48:56 +0200 @@ -729,8 +729,8 @@ /* Define to 1 if `ut_user' is member of `struct utmp'. */ #undef HAVE_STRUCT_UTMP_UT_USER -/* Define to 1 if `ifr_index' is member of `stuct ifreq'. */ -#undef HAVE_STUCT_IFREQ_IFR_INDEX +/* Define to 1 if `ifr_index' is member of `struct ifreq'. */ +#undef HAVE_STRUCT_IFREQ_IFR_INDEX /* Define to 1 if you have the header file. */ #undef HAVE_SYSEXITS_H Index: configure --- configure.orig 2007-06-29 01:04:23 +0200 +++ configure 2007-07-10 09:19:54 +0200 @@ -27908,6 +27908,8 @@ cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default +#include +#include int main () { @@ -29243,7 +29245,7 @@ int main () { -static stuct ifreq ac_aggr; +static struct ifreq ac_aggr; if (sizeof(ac_aggr.ifr_index)) return 0; ; @@ -29285,7 +29287,7 @@ if test $ac_cv_member_stuct_ifreq_ifr_index = yes; then cat >>confdefs.h <<_ACEOF -#define HAVE_STUCT_IFREQ_IFR_INDEX 1 +#define HAVE_STRUCT_IFREQ_IFR_INDEX 1 _ACEOF Index: talk/io.c --- talk/io.c.orig 2006-10-11 23:46:26 +0200 +++ talk/io.c 2007-07-10 08:52:06 +0200 @@ -129,7 +129,9 @@ } extern int errno; +#if !defined(__FreeBSD__) extern int sys_nerr; +#endif /* * p_error prints the system error message on the standard location