Re: [kvm-unit-tests RFC PATCH v2 2/5] lib/{bitops, alloc_page}.h: Add missing headers

2020-10-30 Thread Alexandru Elisei
Hi Eric, On 10/30/20 3:29 PM, Auger Eric wrote: > Hi Alexandru, > On 10/27/20 6:19 PM, Alexandru Elisei wrote: >> bitops.h uses the 'bool' and 'size_t' types, but doesn't include the >> stddef.h and stdbool.h headers, where the types are defined. This can cause >> the following error when

Re: [kvm-unit-tests RFC PATCH v2 2/5] lib/{bitops, alloc_page}.h: Add missing headers

2020-10-30 Thread Auger Eric
Hi Alexandru, On 10/27/20 6:19 PM, Alexandru Elisei wrote: > bitops.h uses the 'bool' and 'size_t' types, but doesn't include the > stddef.h and stdbool.h headers, where the types are defined. This can cause > the following error when compiling: > > In file included from arm/new-test.c:9: >

[kvm-unit-tests RFC PATCH v2 2/5] lib/{bitops, alloc_page}.h: Add missing headers

2020-10-27 Thread Alexandru Elisei
bitops.h uses the 'bool' and 'size_t' types, but doesn't include the stddef.h and stdbool.h headers, where the types are defined. This can cause the following error when compiling: In file included from arm/new-test.c:9: /path/to/kvm-unit-tests/lib/bitops.h:77:15: error: unknown type name 'bool'