提交 96555a96 编写于 作者: B 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: NBlue Swirl <blauwirbel@gmail.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册