mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-24 14:33:16 +00: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:
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))
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user