Hi Robert,

please consider the attached patch. It enables building on systems like
kFreeBSD which use glibc with a BSD kernel.

Regards

Carsten

Description: Fix FTBS on KFreeBSD
 Test which libc is in use instead of which kernel
Author: Carsten Leonhardt <l...@debian.org>
Last-Update: 2020-11-30
Forwarded: not yet

--- a/src/hpack.c
+++ b/src/hpack.c
@@ -69,7 +69,7 @@
 
 static struct hpack	 hpack_global;
 
-#ifdef  __gnu_linux__
+#ifdef  __GLIBC__
 /* these functions are available on BSD, but not on Linux */
 
 #include    <stdlib.h>
-- 
pound mailing list
pound@apsis.ch
https://admin.hostpoint.ch/mailman/listinfo/pound_apsis.ch

Reply via email to