Ticket #1230 (closed defect: fixed)
Refine header check in bin/varnishd/mgt/mgt.h, mgt_main.c for uClibc
|Reported by:||basile@…||Owned by:||phk|
Because of the difference in how uClibc and glibc stack their header files, stdio.h indirectly brings in PTHREAD_CANCELED from pthread.h on a uClibc system, whereas it does not on a glibc system. This happens in mgt.h and mgt_main.c, and causes a (pre-)compile time failure. This patch refines the check in those files to take this fact into consideration.
See the downstream bug for more details: https://bugs.gentoo.org/444294
Changed 16 months ago by basile@…
- attachment 0001-Refine-header-check-in-bin-varnishd-mgt-mgt.h-mgt_ma.patch added