diff options
author | Cy Schubert <cy@FreeBSD.org> | 2022-01-17 08:14:05 -0800 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2022-01-17 09:00:45 -0800 |
commit | d3564c5610c4d94d97971a6b7e45a7c3e45454ee (patch) | |
tree | 1bff647e4798c8f2fa1e61b1cd2f66421df269dc /security/wpa_supplicant/files/patch-src_utils_os.h | |
parent | net/hostapd-devel: Update to the latest GH commit (diff) |
security/wpa_supplicant: Update to 2.10
The long awaited hostapd 2.10 is finally here.
Diffstat (limited to 'security/wpa_supplicant/files/patch-src_utils_os.h')
-rw-r--r-- | security/wpa_supplicant/files/patch-src_utils_os.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/security/wpa_supplicant/files/patch-src_utils_os.h b/security/wpa_supplicant/files/patch-src_utils_os.h new file mode 100644 index 000000000000..e92661256d5f --- /dev/null +++ b/security/wpa_supplicant/files/patch-src_utils_os.h @@ -0,0 +1,17 @@ +--- src/utils/os.h.orig 2016-09-17 20:36:13 UTC ++++ src/utils/os.h +@@ -246,12 +246,14 @@ char * os_readfile(const char *name, siz + */ + int os_file_exists(const char *fname); + ++#if !defined __FreeBSD__ && !defined __DragonFly__ + /** + * os_fdatasync - Sync a file's (for a given stream) state with storage device + * @stream: the stream to be flushed + * Returns: 0 if the operation succeeded or -1 on failure + */ + int os_fdatasync(FILE *stream); ++#endif + + /** + * os_zalloc - Allocate and zero memory |