Commit 96555a96 authored by Blue Swirl's avatar Blue Swirl

Fix OpenBSD build

The header sys-queue.h must be #included early, otherwise at some point OS
queue macros will be used. On OpenBSD, those don't define TAILQ_FOREACH_SAFE.
Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
parent 2d69f359
......@@ -31,6 +31,8 @@
/* Needed early for HOST_BSD etc. */
#include "config-host.h"
/* Needed early to override system queue definitions on BSD */
#include "sys-queue.h"
#ifndef _WIN32
#include <libgen.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment