summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/virtex/network/xiltemac.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/powerpc/virtex/network/xiltemac.c')
-rw-r--r--c/src/lib/libbsp/powerpc/virtex/network/xiltemac.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/virtex/network/xiltemac.c b/c/src/lib/libbsp/powerpc/virtex/network/xiltemac.c
index a20252f15d..c4578d452c 100644
--- a/c/src/lib/libbsp/powerpc/virtex/network/xiltemac.c
+++ b/c/src/lib/libbsp/powerpc/virtex/network/xiltemac.c
@@ -20,6 +20,7 @@
#endif
#include <rtems.h>
+#include <rtems/bspIo.h>
#include <rtems/rtems_bsdnet.h>
#include <sys/param.h>
@@ -45,8 +46,6 @@
#define OUT32(aPtr, aValue) (*((volatile uint32_t *)(aPtr)) = (uint32_t)aValue)
#define NUM_XILTEMAC_UNITS 2
-extern void printk(char*, ...);
-
/* Why isn't this defined in stdio.h like it's supposed to be? */
extern int snprintf(char*, size_t, const char*, ...);