Fam Zheng <f...@redhat.com> writes: > On Mon, 11/14 15:07, Stefan Hajnoczi wrote: >> On Mon, Nov 07, 2016 at 04:59:44PM -0800, Ashish Mittal wrote: >> > diff --git a/block/vxhs.c b/block/vxhs.c >> > new file mode 100644 >> > index 0000000..8913e8f >> > --- /dev/null >> > +++ b/block/vxhs.c >> > @@ -0,0 +1,689 @@ >> > +/* >> > + * QEMU Block driver for Veritas HyperScale (VxHS) >> > + * >> > + * This work is licensed under the terms of the GNU GPL, version 2 or >> > later. >> > + * See the COPYING file in the top-level directory. >> > + * >> > + */ >> > + >> > +#include "qemu/osdep.h" >> > +#include "block/block_int.h" >> > +#include <qnio/qnio_api.h> >> >> Please move system headers (<>) above user headers (""). This way you >> can be sure the system header isn't affected by any macros defined by >> user headers. > > Yes, but still after "qemu/osdep.h", which prepares necessary bits for any > other > headers.
Yes, osdep.h must come first. See also scripts/clean-includes.