From f91055675136dfd1a36cdad729ea31f72fa19c73 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 1 May 2010 02:16:11 +0000 Subject: [PATCH] Need to include enc28j60.h git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2640 42af7a65-404d-4744-a932-0658087f49c3 --- drivers/net/enc28j60.c | 1 + include/nuttx/enc28j60.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/net/enc28j60.c b/drivers/net/enc28j60.c index 899e989a28..607c9213f7 100755 --- a/drivers/net/enc28j60.c +++ b/drivers/net/enc28j60.c @@ -58,6 +58,7 @@ #include #include #include +#include #include #include diff --git a/include/nuttx/enc28j60.h b/include/nuttx/enc28j60.h index 5edba605ea..52fcb4f8d8 100755 --- a/include/nuttx/enc28j60.h +++ b/include/nuttx/enc28j60.h @@ -101,6 +101,7 @@ extern "C" { * ****************************************************************************/ +struct spi_dev_s; /* see nuttx/spi.h */ EXTERN int enc_initialize(FAR struct spi_dev_s *spi, unsigned int devno, unsigned int irq);