tools/flock: fix compile on Alpine Linux
authorJohn Crispin <john@openwrt.org>
Thu, 10 Mar 2016 19:10:48 +0000 (19:10 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 10 Mar 2016 19:10:48 +0000 (19:10 +0000)
commitb2348e69ad1d228d4ac32f5a19246439d9960d9b
tree60702d4fbae37d0fc9e8f897ec6e6e0cd2f7c727
parent346b1905fbafda6a9857232a25597bfcc8f1db43
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
tools/flock/src/flock.c