Build fix; fbsd_ether.c did not compile anymore (but was not recompiled since

the wrong header was included).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22993 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2007-11-25 12:11:36 +00:00
parent ecbcc47480
commit 8b4ee93be6
2 changed files with 7 additions and 5 deletions

View File

@ -1,10 +1,10 @@
SubDir HAIKU_TOP src libs compat freebsd_network ;
UseHeaders $(HAIKU_PRIVATE_KERNEL_HEADERS) : true ;
UsePrivateHeaders net ;
UseHeaders [ FDirName $(SUBDIR) ] : true ;
UseHeaders [ FDirName $(SUBDIR) compat ] : true ;
UsePrivateHeaders net ;
UseHeaders $(HAIKU_PRIVATE_KERNEL_HEADERS) : true ;
SubDirCcFlags [ FDefines _KERNEL=1 ] ;

View File

@ -5,8 +5,10 @@
*
*/
#ifndef _NET_ETHERNET_H_
#define _NET_ETHERNET_H_
#ifndef _FBSD_COMPAT_NET_ETHERNET_H_
#define _FBSD_COMPAT_NET_ETHERNET_H_
#include <sys/kernel.h>
/*
* Somce basic Ethernet constants.
@ -399,4 +401,4 @@ __END_DECLS
#endif /* !_KERNEL */
#endif /* !_NET_ETHERNET_H_ */
#endif /* !_FBSD_COMPAT_NET_ETHERNET_H_ */