blob: f87a94ad215e36ce0f405761618f1587f863e3c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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>
|