mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-23 15:12:50 +00:00
tools/flock: fix compile on Alpine Linux
fixes build errors: src/flock.c:208:34: error: 'O_NOCTTY' undeclared (first use in this function) fd = open(filename, O_RDONLY|O_NOCTTY|O_CREAT, 0666); src/flock.c:208:43: error: 'O_CREAT' undeclared (first use in this function) fd = open(filename, O_RDONLY|O_NOCTTY|O_CREAT, 0666); Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 48978
This commit is contained in:
parent
346b1905fb
commit
b2348e69ad
@ -39,6 +39,7 @@
|
||||
#include <sys/file.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/wait.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#define PACKAGE_STRING "util-linux-ng 2.18"
|
||||
#define _(x) (x)
|
||||
|
Loading…
Reference in New Issue
Block a user