summaryrefslogtreecommitdiff
path: root/net/asterisk10/files/patch-res-res_watchdog.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/asterisk10/files/patch-res-res_watchdog.c')
-rw-r--r--net/asterisk10/files/patch-res-res_watchdog.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/asterisk10/files/patch-res-res_watchdog.c b/net/asterisk10/files/patch-res-res_watchdog.c
new file mode 100644
index 000000000000..8372764ed3e4
--- /dev/null
+++ b/net/asterisk10/files/patch-res-res_watchdog.c
@@ -0,0 +1,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;