diff --git a/contrib/ipfilter/iplang/iplang_y.y b/contrib/ipfilter/iplang/iplang_y.y index 95f3419d9661..28093643ccb6 100644 --- a/contrib/ipfilter/iplang/iplang_y.y +++ b/contrib/ipfilter/iplang/iplang_y.y @@ -7,6 +7,7 @@ * to the original author and the contributors. * * $Id: iplang_y.y,v 2.2 1999/12/04 03:37:04 darrenr Exp $ + * $FreeBSD$ */ #include @@ -48,7 +49,7 @@ #include "ipf.h" #include "iplang.h" -#ifndef __NetBSD__ +#if !defined(__NetBSD__) && !defined(__FreeBSD__) extern struct ether_addr *ether_aton __P((char *)); #endif diff --git a/usr.sbin/wlconfig/wlconfig.c b/usr.sbin/wlconfig/wlconfig.c index f6d7882459ab..77f0221fe83d 100644 --- a/usr.sbin/wlconfig/wlconfig.c +++ b/usr.sbin/wlconfig/wlconfig.c @@ -66,10 +66,10 @@ static const char rcsid[] = #include #include +#include #include #include #include -extern struct ether_addr *ether_aton(char *a); #include #include