Do not include when not available On uClibc, is not necessarily installed, depending on the configuration. Enlightenment properly makes optional, but uses __GLIBC__ to check if it is available or not. Unfortunately, uClibc defines __GLIBC__, so it is not the right way to decide if is available. Instead, Enlightenment already has a configure.ac check for execinfo.h, so we simply use the result of this configure.ac check to decide whether execinfo.h is to be included or not. Signed-off-by: Thomas Petazzoni Index: b/src/bin/e.h =================================================================== --- a/src/bin/e.h +++ b/src/bin/e.h @@ -92,7 +92,7 @@ # include # endif -# ifdef __GLIBC__ +# ifdef HAVE_EXECINFO_H # include # endif