summaryrefslogtreecommitdiff
path: root/time/xalarm/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'time/xalarm/patches/patch-ac')
-rw-r--r--time/xalarm/patches/patch-ac14
1 files changed, 14 insertions, 0 deletions
diff --git a/time/xalarm/patches/patch-ac b/time/xalarm/patches/patch-ac
new file mode 100644
index 00000000000..f87a94ad215
--- /dev/null
+++ b/time/xalarm/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1 2006/01/02 22:34:10 joerg Exp $
+
+--- file.c.orig 2006-01-02 22:30:11.000000000 +0000
++++ file.c
+@@ -29,6 +29,9 @@
+ /*
+ * We use fcntl() to lock files, or we can use flock() or lockf():
+ */
++#if defined(__DragonFly__)
++#define USEFLOCK 1
++#endif
+
+ #if defined (USEFLOCK)
+ #include <sys/file.h>