mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-09 21:12:47 +02:00
BUILD: freebsd: double declaration
On freebsd, the macro LIST_PREV already exists in the header file <sys/queue.h>, and this makes a build error. This patch removes the macros before declaring it. This ensure that the error doesn't occurs.
This commit is contained in:
committed by
Willy Tarreau
parent
c93242cab9
commit
1db96672c4
@@ -111,6 +111,7 @@ struct cond_wordlist {
|
||||
* which contains list head <lh>, which is known as element <el> in
|
||||
* struct pt.
|
||||
*/
|
||||
#undef LIST_PREV
|
||||
#define LIST_PREV(lh, pt, el) (LIST_ELEM((lh)->p, pt, el))
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user