Avoid redefining tsd_t.

This fixes a build failure when integrating with FreeBSD's libc.  This
regression was introduced by d1e11d48d4
(Move tsd link and in_hook after tcache.).
This commit is contained in:
Jason Evans 2019-02-20 18:45:23 -08:00
parent 9015deb126
commit dca7060d5e

View File

@ -5,9 +5,9 @@
#include "jemalloc/internal/ql.h" #include "jemalloc/internal/ql.h"
#include "jemalloc/internal/sc.h" #include "jemalloc/internal/sc.h"
#include "jemalloc/internal/ticker.h" #include "jemalloc/internal/ticker.h"
#include "jemalloc/internal/tsd_types.h"
/* Various uses of this struct need it to be a named type. */ /* 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; typedef ql_elm(tsd_t) tsd_link_t;
struct tcache_s { struct tcache_s {