]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Add sys/file.h so we can get to flock(2).
authorRoy Marples <roy@marples.name>
Mon, 18 Apr 2016 12:49:35 +0000 (12:49 +0000)
committerRoy Marples <roy@marples.name>
Mon, 18 Apr 2016 12:49:35 +0000 (12:49 +0000)
compat/pidfile.c

index 129c8d1d6b0fd70ae874a9eba2bb2286e18ad791..46f34c664ee1b9c4e107e780895a2531aacf0fb0 100644 (file)
@@ -46,6 +46,7 @@ __RCSID("$NetBSD: pidfile.c,v 1.14 2016/04/12 20:40:43 roy Exp $");
 #include <string.h>
 #include <unistd.h>
 
+#include <sys/file.h>  /* for flock(2) */
 #include "../config.h"
 #include "../defs.h"