Changeset c4ee445 in rtems-libbsd


Ignore:
Timestamp:
Jan 20, 2014, 1:59:42 PM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, b96abfd647154f10ea8f7fac68e25676636eded5, debc0aed8b9bef9996b8ec0ae7a70b0b41912e27, 0ad342ae5f65d22eb6c914d58664d3b5d1d3d43f, freebsd-9.3, 98d197895b6162050176ea18d66783a1dc216d82
Children:
f8c3d6e
Parents:
c50f1b4
git-author:
Sebastian Huber <sebastian.huber@…> (01/20/14 13:59:42)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/30/14 14:04:19)
Message:

Define FreeBSD in <net/bpf.h> if not defined

This makes it possible to use this header file directly in applications.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/net/bpf.h

    rc50f1b4 rc4ee445  
    4141#define _NET_BPF_H_
    4242
     43#if defined(__rtems__) && !defined(__FreeBSD__)
     44#define __FreeBSD__ 1
     45#endif /* defined(__rtems__) && !defined(__FreeBSD__) */
    4346/* BSD style release date */
    4447#define BPF_RELEASE 199606
Note: See TracChangeset for help on using the changeset viewer.