mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-22 18:33:28 -04: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue