ibcore: Fix for compiling header files from user-space.
Sponsored by: Mellanox Technologies
This commit is contained in:
parent
0faccd643c
commit
c19d65049e
@ -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…
x
Reference in New Issue
Block a user