blob: 69827b28358f94e690708918ab55e475b0604ccc (
plain)
1
2
3
4
5
6
7
8
9
10
|
--- a/src/checkpid.c
+++ b/src/checkpid.c
@@ -20,6 +20,7 @@
#include "rrdcollect.h"
#include <fcntl.h>
+#include <sys/file.h> /* flock() */
/* lockfile in rrdcollect.pid */
/* five digits+"\n\0" */
|