From 798035e1a57d04d362e9c5628241209d574beb00 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 22 Nov 2017 13:34:46 +0000 Subject: change __unused to _dummy __unused is a shortcut for __attribute__((__unused__)) on the BSDs, because of course it is. So, compilation error. -> change the field name. --- src/include/utmps/utmpx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/utmps/utmpx.h b/src/include/utmps/utmpx.h index 4752964..cdc6a8c 100644 --- a/src/include/utmps/utmpx.h +++ b/src/include/utmps/utmpx.h @@ -37,7 +37,7 @@ struct utmpx struct timeval ut_tv ; uint32_t ut_addr_v6[4] ; - char __unused[20] ; + char _dummy[20] ; } ; #define ut_name ut_user -- cgit v1.2.3