ports/net/asterisk-bristuff/files/patch-res-res_watchdog.c
Max Khon 2ed29b9b6a - Re-add patch to fix build on RELENG_4.
- Bump PORTREVISION.
2006-06-05 19:09:11 +00:00

13 lines
330 B
C

--- 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;