Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xdp/xsk.h: Fix undefined XDP_ALWAYS_INLINE with sparse
Sparse checker doesn't have __GNUC_GNU_INLINE__ or __GNUC_STDC_INLINE__ defined, the same will be true for any non-GNU compiler. This is causing build failures due to XDP_ALWAYS_INLINE being undefined. This is potentially not the best way of fixing the problem, but it solves the current issue. Closes: #279 Fixes: 83549d3 ("xdp/xsk.h: Fix compilation with -std=gnu89") Reported-by: David Marchand <[email protected]> Signed-off-by: Ilya Maximets <[email protected]>
- Loading branch information