<div dir="ltr"><div>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.</div><div><br></div><div>I still think <sys/types.h> is the least you need to include though. I emailed you privately a small test case.</div><div><br></div><div>--joel<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Dec 3, 2018 at 9:42 AM Himanshu Sekhar Nayak <<a href="mailto:himanshuwindows8.1@gmail.com">himanshuwindows8.1@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Hi Joel,</div><div><br></div><div>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.</div><div><br></div><div>Thanks</div><div>Himanshu<br></div></div></div>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a></blockquote></div>