Fix build error for Linux >= 4.19

pull/3/head
brektrou 7 years ago committed by GitHub
parent 2e369c2a58
commit e8e56c1f58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save