On Mon, Aug 27, 2018 at 09:37:24PM +0300, Platon Ryzhikov wrote:
> These changes are required on Arch Linux ARM to build sbase. This does not 
> affect x86 build.
> ---
>  ls.c  | 1 +
>  tar.c | 1 +
>  2 files changed, 2 insertions(+)
> 
> diff --git a/ls.c b/ls.c
> index b716aba..9e79fcb 100644
> --- a/ls.c
> +++ b/ls.c
> @@ -1,6 +1,7 @@
>  /* See LICENSE file for copyright and license details. */
>  #include <sys/stat.h>
>  #include <sys/types.h>
> +#include <sys/sysmacros.h>
>  
>  #include <dirent.h>
>  #include <grp.h>
> diff --git a/tar.c b/tar.c
> index a6ead2e..9359bfd 100644
> --- a/tar.c
> +++ b/tar.c
> @@ -1,6 +1,7 @@
>  /* See LICENSE file for copyright and license details. */
>  #include <sys/stat.h>
>  #include <sys/time.h>
> +#include <sys/sysmacros.h>
>  
>  #include <errno.h>
>  #include <fcntl.h>
> -- 
> 2.18.0
> 

As reported before this is wrong and probably Linux and glibc-specific.

Also sort the include names.

-- 
Kind regards,
Hiltjo

Reply via email to