From: Roy Marples Date: Mon, 18 Apr 2016 12:49:35 +0000 (+0000) Subject: Add sys/file.h so we can get to flock(2). X-Git-Tag: v6.10.3~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc2d895cbd5811ed07665993ad475e3d9f7809f4;p=thirdparty%2Fdhcpcd.git Add sys/file.h so we can get to flock(2). --- diff --git a/compat/pidfile.c b/compat/pidfile.c index 129c8d1d..46f34c66 100644 --- a/compat/pidfile.c +++ b/compat/pidfile.c @@ -46,6 +46,7 @@ __RCSID("$NetBSD: pidfile.c,v 1.14 2016/04/12 20:40:43 roy Exp $"); #include #include +#include /* for flock(2) */ #include "../config.h" #include "../defs.h"