On Tuesday 13 December 2011 18:54:59 Simon Glass wrote:
> On Sun, Dec 4, 2011 at 9:57 AM, Matthias Weisser wrote:
> > --- a/arch/sandbox/cpu/os.c
> > +++ b/arch/sandbox/cpu/os.c
> > @@ -19,6 +19,7 @@
> >  * MA 02111-1307 USA
> >  */
> > 
> > +#include <config.h>
> >  #include <fcntl.h>
> >  #include <stdlib.h>
> >  #include <termios.h>
> > @@ -30,6 +31,19 @@
> >  #include <sys/mman.h>
> >  #include <linux/types.h>
> > 
> > +#ifdef CONFIG_NET_TAP
> 
> I don't think we need this #ifdef

i think it's fine.  the current code isn't too tied to Linux, but adding 
NET_TAP unconditionally would make it completely Linux specific ...
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to