OK. But don't edit the installed regex.h Just add an include to your test.
The .h file needs to be fixed if it is broken. That's a separtae issue.

I still think <sys/types.h> is the least you need to include though. I
emailed you privately a small test case.

--joel

On Mon, Dec 3, 2018 at 9:42 AM Himanshu Sekhar Nayak <
himanshuwindows...@gmail.com> wrote:

> Hi Joel,
>
> Seems like I fixed it. I searched over internet and found a possible fix
> by adding "#include <unistd.h>" to regex.h file and compiled it and it
> doesn't show any error now. But I saw many comments on not using it because
> off_t is not very standard and replacing off_t with a new typedef that is
> based on int64_t.
>
> Thanks
> Himanshu
> _______________________________________________
> devel mailing list
> devel@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to