Commit Graph

2 Commits (b2348e69ad1d228d4ac32f5a19246439d9960d9b)

Author SHA1 Message Date
John Crispin b2348e69ad 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
8 years ago
Felix Fietkau 731877c5d9 add a stripped down (and portable) version of flock to the host tools
SVN-Revision: 23707
14 years ago