On Wed, 11 Mar 2020 at 00:43, Liu, Jingqi <jingqi....@intel.com> wrote: > 1) If '#include <linux/mman.h>' first then '#include qemu/osdep.h', it > should be fine. > > 2) Peter mentioned osdep.h should go first. > > It will cause redefinitions of other MAP_* macros after '#include > <linux/mman.h>'. > > This is where the conflict lies.
osdep.h first, always. Other uses of linux-headers headers have presumably already dealt with this issue... thanks -- PMM