mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 09:11:07 -04:00
ibcore: Fix for compiling header files from user-space.
Sponsored by: Mellanox Technologies
This commit is contained in:
parent
0faccd643c
commit
c19d65049e
2 changed files with 8 additions and 0 deletions
|
|
@ -34,7 +34,11 @@
|
|||
#ifndef MLX4_ABI_USER_H
|
||||
#define MLX4_ABI_USER_H
|
||||
|
||||
#ifdef _KERNEL
|
||||
#include <linux/types.h>
|
||||
#else
|
||||
#include <infiniband/types.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Increment this value if any changes that break userspace ABI
|
||||
|
|
|
|||
|
|
@ -33,7 +33,11 @@
|
|||
#ifndef MLX5_ABI_USER_H
|
||||
#define MLX5_ABI_USER_H
|
||||
|
||||
#ifdef _KERNEL
|
||||
#include <linux/types.h>
|
||||
#else
|
||||
#include <infiniband/types.h>
|
||||
#endif
|
||||
|
||||
enum {
|
||||
MLX5_QP_FLAG_SIGNATURE = 1 << 0,
|
||||
|
|
|
|||
Loading…
Reference in a new issue