error in regex.h

Joel Sherrill joel at
Mon Dec 3 15:49:30 UTC 2018

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.


On Mon, Dec 3, 2018 at 9:42 AM Himanshu Sekhar Nayak <
himanshuwindows8.1 at> 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 at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the devel mailing list