Skip to content
Snippets Groups Projects
Commit b2348e69 authored by John Crispin's avatar John Crispin
Browse files

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: default avatarDirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 48978
parent 346b1905
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment