diff options
Diffstat (limited to 'common/env_attr.c')
-rw-r--r-- | common/env_attr.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/env_attr.c b/common/env_attr.c index 7d330a58bb..210c98dcfd 100644 --- a/common/env_attr.c +++ b/common/env_attr.c @@ -21,7 +21,14 @@ * MA 02111-1307 USA */ +#ifdef USE_HOSTCC /* Eliminate "ANSI does not permit..." warnings */ +#include <stdint.h> +#include <stdio.h> +#include <linux/linux_string.h> +#else #include <common.h> +#endif + #include <env_attr.h> #include <errno.h> #include <linux/string.h> |