mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-18 13:11:17 +08:00
Define __FreeBSD__ in <net/bpf.h> if not defined
This makes it possible to use this header file directly in applications.
This commit is contained in:
parent
c50f1b42fe
commit
c4ee44518c
@ -40,6 +40,9 @@
|
||||
#ifndef _NET_BPF_H_
|
||||
#define _NET_BPF_H_
|
||||
|
||||
#if defined(__rtems__) && !defined(__FreeBSD__)
|
||||
#define __FreeBSD__ 1
|
||||
#endif /* defined(__rtems__) && !defined(__FreeBSD__) */
|
||||
/* BSD style release date */
|
||||
#define BPF_RELEASE 199606
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user