Do you have your includes setup to target bionic/libc/include?

bionic/libc/include/unistd.h

Line 229: char* getcwd(char* __buf, size_t __size);

On Thu, Apr 2, 2020 at 8:27 AM Dave McLaughlin <davemclaughli...@gmail.com>
wrote:

> Yes, tried that and I get a file not found for that header file.
>
> With the leading linux/ it finds the file but the header file does not
> contain a reference to that function.
>
> There are over 50 files called unistd.h in the source.
>
> I am trying to compile drivers/base/firmware_class.c to add some
> diagnostics to see why the wifi driver gives file not found.
>
> On Thursday, 2 April 2020 00:00:48 UTC+7, Glenn Kasten wrote:
>>
>> Did you try <unistd.h>  ?  Note the "h" not "g" at end, and no leading
>> "linux/"
>>
>>
>>> --
> --
> unsubscribe: android-porting+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-porting
>
> ---
> You received this message because you are subscribed to the Google Groups
> "android-porting" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-porting+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-porting/da43688c-e590-423f-8d10-ffc1ad9ee3aa%40googlegroups.com
> <https://groups.google.com/d/msgid/android-porting/da43688c-e590-423f-8d10-ffc1ad9ee3aa%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 


*  •  Martin Brabham*
*  •  *Software Engineer
*  •  *Android Bluetooth
  •  352.327.8280

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-porting/CAJMS51ApyhH-Yn75gZaZMvnFcsPhR240%2B1LrKZ-EV3MJeP5igA%40mail.gmail.com.

Reply via email to