From: Denys Vlasenko Date: Mon, 12 Dec 2016 15:29:32 +0000 (+0100) Subject: suppress glibc "use sysmacros.h for major" warning X-Git-Tag: 1_26_0~6 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4f13a7050787aadb402c9c47aae0ff778dbc2c8b;p=oweals%2Fbusybox.git suppress glibc "use sysmacros.h for major" warning Signed-off-by: Denys Vlasenko --- diff --git a/include/libbb.h b/include/libbb.h index 2e9ea46e2..b1fec0157 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -45,7 +45,7 @@ #include #include #include -#ifndef major +#if !defined(major) || defined(__GLIBC__) # include #endif #include