summaryrefslogtreecommitdiff
path: root/net/tacacs/patches/patch-ad
blob: 80d5077e92c6781bfc00227c66e7acf550ed5276 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$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.