aboutsummaryrefslogtreecommitdiff
path: root/net/asterisk14/files/patch-res-res_watchdog.c
blob: 51e4b0ae6c7143b9854461173fb97cf43620c168 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- res/res_watchdog.c.orig	Fri Jul 15 13:24:24 2005
+++ res/res_watchdog.c	Fri Jul 15 13:24:42 2005
@@ -40,6 +40,10 @@
 
 /* Registrar for operations */
 
+#ifndef O_SYNC
+#define O_SYNC O_FSYNC
+#endif
+
 static struct watchdog_pvt *watchdogs = NULL;
 
 STANDARD_LOCAL_USER;