Skip to content

Commit

Permalink
iommu/vfio: include linux/types.h early
Browse files Browse the repository at this point in the history
linux/types.h must be included prior to vfn/support/compiler.h or the
__bitwise annotation will clash.

Signed-off-by: Klaus Jensen <[email protected]>
  • Loading branch information
birkelund committed Sep 2, 2024
1 parent 9cefc03 commit 7e94df6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/iommu/vfio.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
#include <sys/ioctl.h>
#include <sys/mman.h>

#include <linux/types.h>
#include <linux/vfio.h>

#include "ccan/str/str.h"
#include "ccan/compiler/compiler.h"
#include "ccan/minmax/minmax.h"

#include <linux/types.h>
#include <linux/vfio.h>

#include "vfn/support.h"
#include "vfn/iommu.h"
#include "vfn/trace.h"
Expand Down

0 comments on commit 7e94df6

Please sign in to comment.