mirror of
https://github.com/clearlinux/graphene.git
synced 2026-10-03 23:48:19 +00:00
Fix the build for linux driver 1.8
This commit is contained in:
@@ -16,11 +16,13 @@
|
||||
#define __packed __attribute__((packed))
|
||||
#endif
|
||||
|
||||
#if SDK_DRIVER_VERSION > KERNEL_VERSION(1, 8, 0)
|
||||
#include "linux-sgx-driver/sgx_user.h"
|
||||
#else // 1.8
|
||||
#include "linux-sgx-driver/isgx_user.h"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#if SDK_DRIVER_VERSION < KERNEL_VERSION(1, 8, 0)
|
||||
#else // SDK_DRIVER_VERSION < KERNEL_VERSION(1, 8, 0)
|
||||
|
||||
#include "linux-sgx-driver/isgx_user.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user