mirror of
https://github.com/brektrou/rtl8821CU.git
synced 2025-12-26 04:36:18 +08:00
Fix build error for Linux >= 4.19
This commit is contained in:
parent
2e369c2a58
commit
e8e56c1f58
@ -686,6 +686,7 @@ static int rtw_cfg80211_sync_iftype(_adapter *adapter)
|
||||
|
||||
static u64 rtw_get_systime_us(void)
|
||||
{
|
||||
// Fix build error for Linux >= 4.19
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 39))
|
||||
struct timespec ts;
|
||||
getboottime(&ts);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user