Can you explain what the actual problem is? For me the include you'd use in programs <fcntl.h> includes <bits/fcntl.h> which includes <bits/fcntl-linux.h> which defines O_RDONLY.
Ross On 12 March 2018 at 07:32, Arno Steffens <s...@gmx.li> wrote: > I looked for > #define O_RDONLY 00 > #define O_WRONLY 01 > #define O_RDWR 02 > and found it in : bits/fcntl-linux.h. According to this file it should not > be included, but bits/fcntl.h. > And it requires something like that: > > A minimal <bits/fcntl.h> contains just: > struct flock {...} > #ifdef __USE_LARGEFILE64 > struct flock64 {...} > #endif > #include <bits/fcntl-linux.h> > > > > But this doesn't finally include the fcntl-linux.h as expected. Am I doing > something wrong? > Regards > Arno > > > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto >
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto