diff options
author | Jiri Luznicky <jiri.luznicky@ubnt.com> | 2018-05-23 15:39:13 +0200 |
---|---|---|
committer | Azat Khuzhin <a3at.mail@gmail.com> | 2018-10-20 03:05:53 +0300 |
commit | 95918754d2ba7e6bffe0fc74bebed60bd917c10c (patch) | |
tree | 30fa489ee5e853eeabefb6e82e725051b12a3e7e /buffer.c | |
parent | 4c61a04cd5207f2140b65f955559aa4ffc848e9c (diff) | |
download | libevent-95918754d2ba7e6bffe0fc74bebed60bd917c10c.tar.gz |
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
Diffstat (limited to 'buffer.c')
-rw-r--r-- | buffer.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -95,6 +95,7 @@ #include "evthread-internal.h" #include "evbuffer-internal.h" #include "bufferevent-internal.h" +#include "event-internal.h" /* some systems do not have MAP_FAILED */ #ifndef MAP_FAILED |