]> granicus.if.org Git - libevent/commit
Fix missing LIST_HEAD
authorJiri Luznicky <jiri.luznicky@ubnt.com>
Wed, 23 May 2018 13:39:13 +0000 (15:39 +0200)
committerAzat Khuzhin <azat@libevent.org>
Sat, 2 Feb 2019 12:17:59 +0000 (15:17 +0300)
commitcdd52e7f81b340bb8386bb4cf3303331eb709bb6
tree6920501a9bac673a885d2000d59f0d0333f15b6e
parent235b55215ba24f67405bcbc8b30d97f0bb26efae
Fix missing LIST_HEAD

Despite the presence of 'sys/queue.h' in some stdlib implementations
(i.e. uclibc) 'LIST_HEAD' macro can be missing.  This fix defines this
macro in the same manner as was done previously for 'TAILQ_'.

Fixes: #539
Closes: #639 (cherry-picked)
Backport: 2.1.9
(cherry picked from commit 95918754d2ba7e6bffe0fc74bebed60bd917c10c)
buffer.c
event-internal.h