Compatibility gunk for ECONET and new glibc
authorPhil Blundell <philb@gnu.org>
Wed, 18 Nov 1998 10:31:58 +0000 (10:31 +0000)
committerPhil Blundell <philb@gnu.org>
Wed, 18 Nov 1998 10:31:58 +0000 (10:31 +0000)
(patch from Ralf)

interface.c
lib/econet.c

index fd7d352..e7e1276 100644 (file)
@@ -4,7 +4,7 @@
    10/1998 partly rewriten by Andi Kleen to support an interface list.   
    I don't claim that the list operations are efficient @).  
 
-   $Id: interface.c,v 1.11 1998/11/17 15:16:20 freitag Exp $
+   $Id: interface.c,v 1.12 1998/11/18 10:31:58 philip Exp $
  */
 
 #include "config.h"
@@ -29,7 +29,7 @@
 #endif
 #endif
 
-#if HAVE_AFECONET
+#if !defined(_NETECONET_EC_H) && defined(HAVE_AFECONET)
 #include <linux/if_ec.h>
 #endif
 
index 41cbdac..14d9202 100644 (file)
@@ -3,7 +3,7 @@
  *              support functions for the net-tools.
  *              (NET-3 base distribution).
  *
- * Version:     $Id: econet.c,v 1.4 1998/11/15 20:09:30 freitag Exp $
+ * Version:     $Id: econet.c,v 1.5 1998/11/18 10:32:06 philip Exp $
  *
  * Author:      Philip Blundell <philb@gnu.org>
  *
@@ -29,7 +29,9 @@
 #include "pathnames.h"
 #include "intl.h"
 
+#ifndef _NETECONET_EC_H
 #include <linux/if_ec.h>
+#endif
 
 /* Display an Econet address */
 static char *