Changeset c4ee445 in rtems-libbsd for freebsd/sys/net/bpf.h


Ignore:
Timestamp:
Jan 20, 2014, 1:59:42 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, afaeccc05a556f6aa25ba044a7e49d6aa634a59e, freebsd-9.3, master
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.