Skip to content

Commit

Permalink
Switch to our own copy of the queue macros.
Browse files Browse the repository at this point in the history
Based on the latest NetBSD version (-r1.74).  This avoids having to
support different versions, as e.g. the DragonFlyBSD version is quite
different to others, and is one less dependency on nbcompat.
  • Loading branch information
Jonathan Perkin committed May 25, 2020
1 parent a4fcfc7 commit c270e0b
Show file tree
Hide file tree
Showing 5 changed files with 866 additions and 11 deletions.
6 changes: 5 additions & 1 deletion external/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,15 @@

#include "config.h"

/*
* Include our copy of queue.h before nbcompat pulls in its version.
*/
#include "queue.h"

#if HAVE_NBCOMPAT_H
#include <nbcompat.h>
#else
#include <err.h>
#include <sys/queue.h>
#endif

#include <assert.h>
Expand Down
Loading

0 comments on commit c270e0b

Please sign in to comment.