summaryrefslogtreecommitdiff
path: root/net/asterisk-bristuff/files/patch-res-res_watchdog.c
blob: 8372764ed3e43663fb2baf0cc404ddfad10ee4c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- res/res_watchdog.c.orig	Mon Jan 23 23:55:25 2006
+++ res/res_watchdog.c	Mon Jan 23 23:55:10 2006
@@ -37,6 +37,10 @@
 #include <asterisk/utils.h>
 #include <asterisk/adsi.h>
 
+#if defined(__FreeBSD__) && !defined(O_SYNC)
+#define O_SYNC O_FSYNC
+#endif
+
 static struct watchdog_pvt *watchdogs = NULL;
 
 STANDARD_LOCAL_USER;