From dca7060d5e49b8a07179a1f13bf39f6d30e709c8 Mon Sep 17 00:00:00 2001 From: Jason Evans Date: Wed, 20 Feb 2019 18:45:23 -0800 Subject: [PATCH] Avoid redefining tsd_t. This fixes a build failure when integrating with FreeBSD's libc. This regression was introduced by d1e11d48d4c706e17ef3508e2ddb910f109b779f (Move tsd link and in_hook after tcache.). --- include/jemalloc/internal/tcache_structs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/jemalloc/internal/tcache_structs.h b/include/jemalloc/internal/tcache_structs.h index 27087031..172ef904 100644 --- a/include/jemalloc/internal/tcache_structs.h +++ b/include/jemalloc/internal/tcache_structs.h @@ -5,9 +5,9 @@ #include "jemalloc/internal/ql.h" #include "jemalloc/internal/sc.h" #include "jemalloc/internal/ticker.h" +#include "jemalloc/internal/tsd_types.h" /* Various uses of this struct need it to be a named type. */ -typedef struct tsd_s tsd_t; typedef ql_elm(tsd_t) tsd_link_t; struct tcache_s {