From 405f435b372db3e959a0a081a75f414b9065e05c Mon Sep 17 00:00:00 2001 From: Titouan Christophe Date: Mon, 4 May 2020 14:11:43 +0200 Subject: [PATCH] make struct user anonymous (only typedefed) This works because this struct is never referenced by its name, but always by its type. This prevents a conflict with struct user from when compiling against uclibc. Signed-off-by: Titouan Christophe --- src/server.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.h b/src/server.h index 9c2b761c4..59cf1370e 100644 --- a/src/server.h +++ b/src/server.h @@ -732,7 +732,7 @@ typedef struct readyList { no AUTH is needed, and every connection is immediately authenticated. */ -typedef struct user { +typedef struct { sds name; /* The username as an SDS string. */ uint64_t flags; /* See USER_FLAG_* */