doh...
authorPhil Blundell <philb@gnu.org>
Tue, 1 Dec 1998 09:30:06 +0000 (09:30 +0000)
committerPhil Blundell <philb@gnu.org>
Tue, 1 Dec 1998 09:30:06 +0000 (09:30 +0000)
interface.c
lib/Makefile
lib/af.c

index 620d43e..18733a3 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.14 1998/11/19 05:06:04 freitag Exp $
+   $Id: interface.c,v 1.15 1998/12/01 09:30:06 philip Exp $
  */
 
 #include "config.h"
@@ -29,7 +29,7 @@
 #endif
 #endif
 
-#if !defined(_NETECONET_EC_H) && defined(HAVE_AFECONET)
+#if !defined(_NETECONET_EC_H) && HAVE_AFECONET
 #include <linux/if_ec.h>
 #endif
 
index 1d095cb..c0e7f9c 100644 (file)
@@ -29,7 +29,7 @@ OBJS  = $(sort $(VARIA) $(AFOBJS) $(HWOBJS) \
 
 # This can be overwritten by the TOPLEVEL Makefile
 TOPDIR=..
-CFLAGS += -I$(TOPDIR) -fPIC
+CFLAGS += -I$(TOPDIR) -I$(TOPDIR)/include -fPIC
 SONAME=libnet-tools.so.0
 
 .SUFFIXES: .a .so
index d8caf53..19619eb 100644 (file)
--- a/lib/af.c
+++ b/lib/af.c
@@ -2,7 +2,7 @@
  * lib/af.c   This file contains the top-level part of the protocol
  *              support functions module for the NET-2 base distribution.
  *
- * Version:     $Id: af.c,v 1.8 1998/11/19 13:01:52 philip Exp $
+ * Version:     $Id: af.c,v 1.9 1998/12/01 09:30:30 philip Exp $
  *
  * Author:      Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
  *              Copyright 1993 MicroWalt Corporation
@@ -131,7 +131,7 @@ struct aftype *aftypes[] =
 void afinit()
 {
     unspec_aftype.title = _("UNSPEC");
-#if HAVE_AFINET
+#if HAVE_AFUNIX
     unix_aftype.title = _("UNIX Domain");
 #endif
 #if HAVE_AFINET