pkgsrc/time/xalarm/patches/patch-ac
2006-01-02 22:34:10 +00:00

14 lines
321 B
Text

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