summaryrefslogtreecommitdiff
path: root/buffer.c
diff options
context:
space:
mode:
authorJiri Luznicky <jiri.luznicky@ubnt.com>2018-05-23 15:39:13 +0200
committerAzat Khuzhin <a3at.mail@gmail.com>2018-10-20 03:05:53 +0300
commit95918754d2ba7e6bffe0fc74bebed60bd917c10c (patch)
tree30fa489ee5e853eeabefb6e82e725051b12a3e7e /buffer.c
parent4c61a04cd5207f2140b65f955559aa4ffc848e9c (diff)
downloadlibevent-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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/buffer.c b/buffer.c
index 80cb54ad..8e88fdf5 100644
--- a/buffer.c
+++ b/buffer.c
@@ -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