pkgsrc/net/tacacs/patches/patch-ad

15 lines
344 B
Text

$NetBSD: patch-ad,v 1.1 2005/12/18 19:23:04 joerg Exp $
--- do_acct.c.orig 2005-12-18 19:15:09.000000000 +0000
+++ do_acct.c
@@ -20,6 +20,10 @@
#include "tac_plus.h"
+#if defined(__DragonFly__) && !defined(O_SYNC)
+#define O_SYNC O_FSYNC
+#endif
+
static int acctfd = 0;
/* Make a acct entry into the accounting file for accounting.