From: Justin Clift Date: Tue, 28 Sep 2010 00:52:21 +0000 (+1000) Subject: nwfilter: remove recently added workaround define for macos x X-Git-Tag: v0.8.5~211 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48005255b0b3bc4d169884271bd8b993a677503f;p=thirdparty%2Flibvirt.git nwfilter: remove recently added workaround define for macos x This reverses commit 04c3704, which added a define to nwfilter to allow libvirtd compilation on Mac OS X. Stefan Bergers commit, 2e7294d, is the proper solution, removing the requirement for nwfilter on non-Linux. --- diff --git a/src/nwfilter/nwfilter_learnipaddr.c b/src/nwfilter/nwfilter_learnipaddr.c index 7fc55a67e7..7c94fc24ce 100644 --- a/src/nwfilter/nwfilter_learnipaddr.c +++ b/src/nwfilter/nwfilter_learnipaddr.c @@ -38,11 +38,6 @@ #include #include -// Add Linux define missing from OSX -#ifndef ETH_ALEN -# define ETH_ALEN 6 /* Octets in one ethernet addr */ -#endif - #include "internal.h" #include "buf.h"