mirror of
https://github.com/bgp/bgpq4
synced 2025-02-28 08:53:11 +00:00
Check if sys/queue.h have STAILQ_ interface. At least OpenBSD's one does not...
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
|
||||
#if HAVE_SYS_QUEUE_H
|
||||
#include <sys/queue.h>
|
||||
/* OpenBSD-current as of 2015-08-30 does not define STAILQ_ENTRY anymore */
|
||||
#ifndef STAILQ_ENTRY
|
||||
#include "sys_queue.h"
|
||||
#endif
|
||||
#else
|
||||
#include "sys_queue.h"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user