2005-09-19 Ralf Corsepius <ralf.corsepius@rtems.org>

* network/network.c: Remove #define KERNEL.
	Include <errno.h>.
	* Makefile.am: Add -D_KERNEL to network_CPPFLAGS.
This commit is contained in:
Ralf Corsepius
2005-09-19 03:18:52 +00:00
parent 24934c5766
commit 5c36c472f6
3 changed files with 8 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
2005-09-19 Ralf Corsepius <ralf.corsepius@rtems.org>
* network/network.c: Remove #define KERNEL.
Include <errno.h>.
* Makefile.am: Add -D_KERNEL to network_CPPFLAGS.
2005-05-26 Ralf Corsepius <ralf.corsepius@rtems.org>
* include/bsp.h: New header guard.

View File

@@ -55,7 +55,7 @@ timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
if HAS_NETWORKING
network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D_KERNEL
noinst_PROGRAMS += network.rel
network_rel_SOURCES = network/netexterns.h network/network.c \
network/uti596.h

View File

@@ -12,8 +12,6 @@ void printk_time(void);
#define BREAKPOINT()
#endif
#define KERNEL
/*
EII: Oct 16 : Version 0.0
@@ -42,6 +40,7 @@ int count_rx = 0;
#include <bsp.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <rtems/error.h>
#include <rtems/rtems_bsdnet.h>