On Tue, 19 Aug 2025 17:07:28 +0100
Bruce Richardson <bruce.richard...@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.

Reply via email to