diff --git a/lib/libmagic/config.h b/lib/libmagic/config.h --- a/lib/libmagic/config.h +++ b/lib/libmagic/config.h @@ -254,7 +254,9 @@ #define HAVE_WORKING_VFORK 1 /* Define to 1 if you have the header file. */ +#ifndef __linux__ /* Cross building tools build with glibc on linux */ #define HAVE_XLOCALE_H 1 +#endif /* Define to 1 if you have the header file. */ #define HAVE_ZLIB_H 1