You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

57 lines
1.4 KiB

Index: config.hin
--- config.hin.orig 2006-10-21 14:00:29 +0200
+++ config.hin 2006-11-28 17:11:38 +0100
@@ -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 <sysexits.h> header file. */
#undef HAVE_SYSEXITS_H
Index: configure
--- configure.orig 2006-10-21 13:59:53 +0200
+++ configure 2006-11-28 17:10:46 +0100
@@ -32036,6 +32036,8 @@
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
$ac_includes_default
+#include <sys/types.h>
+#include <sys/socket.h>
typedef socklen_t ac__type_new_;
int
main ()
@@ -33662,7 +33664,7 @@
int
main ()
{
-static stuct ifreq ac_aggr;
+static struct ifreq ac_aggr;
if (sizeof(ac_aggr.ifr_index))
return 0;
;
@@ -33718,7 +33720,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 2006-11-28 17:05:30 +0100
@@ -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