[RFC 01/47] eal: add BSD version of queue.h
Stephen Hemminger
stephen at networkplumber.org
Tue Aug 19 19:46:06 CEST 2025
On Tue, 19 Aug 2025 17:07:28 +0100
Bruce Richardson <bruce.richardson at intel.com> wrote:
> > > I think we should define two defines for our header, and warn if
> > > sys/queue.h is included first.
> > >
> > > #ifndef _RTE_BSD_QUEUE_H_
> > > #ifdef _SYS_QUEUE_H_
> > > #warning ...
> > > #endif
> > >
> > > #define _RTE_BSD_QUEUE_H_
> > > #define _SYS_QUEUE_H_
> > >
> > > ...
> > >
> > > #endif
Tried that and won't work right since we want to put header
in first patch and not break build of unchanged drivers etc.
It will work after the whole patch series when <sys/queue.h> is gone.
More information about the dev
mailing list