json: don't use named initializers for anonymous unions
authorJens Axboe <axboe@kernel.dk>
Tue, 21 Apr 2020 03:20:03 +0000 (21:20 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 21 Apr 2020 03:20:03 +0000 (21:20 -0600)
commit173ff874d01466fa19f41998225d173cafd7e3bc
tree0c87266e1fe8594a1a3376e2bd40754c43bf667f
parentc65057f93d1de62a48f98578e24716128ce77a75
json: don't use named initializers for anonymous unions

Older compilers don't like it, and we can just do make it work a bit
differently instead.

Fixes: https://github.com/axboe/fio/issues/966
Signed-off-by: Jens Axboe <axboe@kernel.dk>
json.h