]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: cfgparse-tcp: Add _GNU_SOURCE for TCP_MD5SIG_MAXKEYLEN
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 3 Jul 2025 14:30:14 +0000 (16:30 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 3 Jul 2025 14:30:15 +0000 (16:30 +0200)
It is required for the musl librairy to be sure TCP_MD5SIG_MAXKEYLEN is
defined and avoid build errors.

src/cfgparse-tcp.c

index 0265e7d1992f677ee5ca69b7e3ff98344a086886..40419cc51deb8d55a35f5620267c571a92773437 100644 (file)
@@ -10,6 +10,7 @@
  *
  */
 
+#define _GNU_SOURCE // for TCP_MD5SIG_MAXKEYLEN
 #include <ctype.h>
 #include <errno.h>
 #include <stdio.h>