diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2016-09-23 18:20:11 +0000 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2016-09-23 18:20:11 +0000 |
commit | 960c48e8f320e94f1bced21f6ec61ce55d252599 (patch) | |
tree | e5932dc0a64ddc8acbd3ca1d549c2c6242dcdaf5 /net/hostapd/files/patch-src_utils_os.h | |
parent | net-im/farsight2: limit to python 2.x (diff) |
Update to 2.5
PR: 212779
Submitted by: leres at ee.lbl.gov (maintainer)
Diffstat (limited to 'net/hostapd/files/patch-src_utils_os.h')
-rw-r--r-- | net/hostapd/files/patch-src_utils_os.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/net/hostapd/files/patch-src_utils_os.h b/net/hostapd/files/patch-src_utils_os.h new file mode 100644 index 000000000000..fb6e7f50e74e --- /dev/null +++ b/net/hostapd/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); + ++#ifndef __FreeBSD__ + /** + * 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 |