ports/net/asterisk-devel/files/patch-res-res_watchdog.c
Max Khon 414711836f Fix build on RELENG_4 (fix res_watchdog, do not build fax support).
Bump PORTREVISION.

Approved by:	MAINTAINER
2005-07-15 12:21:58 +00:00

13 lines
277 B
C

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