aboutsummaryrefslogtreecommitdiff
path: root/net/wpa_supplicant_gui/files/patch-src_utils_os__unix.c
blob: ccb80bf9fbe6ae0036fc57ecaa975075baa7cc8d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- src/utils/os_unix.c.orig	2015-09-27 19:02:05 UTC
+++ src/utils/os_unix.c
@@ -23,6 +23,10 @@
 #include <mach/mach_time.h>
 #endif /* __MACH__ */
 
+#ifdef __FreeBSD__
+#define fdatasync fsync
+#endif
+
 #include "os.h"
 #include "common.h"