[PATCH v4 01/15] Add stub for libunwind, procps and glib

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Wed May 14 16:16:31 UTC 2025


On Wed, May 14, 2025 at 05:00:24PM +0200, Badrappan, Jeevaka wrote:
> 
> > diff --git a/lib/igt_glib.h b/lib/igt_glib.h
> 
> > new file mode 100644
> 
> > index 000000000..fc1743970
> 
> > --- /dev/null
> 
> > +++ b/lib/igt_glib.h
> 
> 
> > Name igt_something.h may be incidentally included, especially it is
> 
> > not protected with #ifdef ANDROID.  So I would use include/android
> 
> > directory to put these includes there. And I would name them
> 
> > android/glib.h, android/procps.h, and android/unwind.h. For being
> 
> > absolutely sure no other os will include them you may protect these
> 
> > includes with #ifdef ANDROID.
> 
> May i know which one is preferred please?
> <igt_root_dir>/lib/android/glib.h or <igt_root_dir>/include/android/glib.h or <igt_root_dir>/android/glib.h

I would put it to <igt_root_dir>/include/android.

--
Zbigniew

> 
> Thanks and Regards,
> Jeevaka
> 


More information about the igt-dev mailing list