forked from Lainports/opnsense-ports
security/wpa_supplicant: sync with upstream
Taken from: FreeBSD
This commit is contained in:
parent
c05966f7e3
commit
9c51f319cd
1 changed files with 15 additions and 0 deletions
15
security/wpa_supplicant/files/patch-src_utils_os__unix.c
Normal file
15
security/wpa_supplicant/files/patch-src_utils_os__unix.c
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
--- src/utils/os_unix.c.orig 2022-01-16 12:51:29.000000000 -0800
|
||||
+++ src/utils/os_unix.c 2024-06-01 22:03:18.774245000 -0700
|
||||
@@ -103,10 +103,12 @@
|
||||
break;
|
||||
#endif
|
||||
#ifdef CLOCK_MONOTONIC
|
||||
+#if !(defined(CLOCK_BOOTTIME) && CLOCK_BOOTTIME == CLOCK_MONOTONIC)
|
||||
case CLOCK_MONOTONIC:
|
||||
clock_id = CLOCK_REALTIME;
|
||||
break;
|
||||
#endif
|
||||
+#endif
|
||||
case CLOCK_REALTIME:
|
||||
return -1;
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue