[systemd-devel] [RFC 07/25] shared/sparse-endian.h: add missing byteswap.h include

David Herrmann dh.herrmann at gmail.com
Thu Sep 18 15:29:11 PDT 2014


Hi

On Thu, Sep 18, 2014 at 3:24 PM, Emil Renner Berthing <systemd at esmil.dk> wrote:
> ---
>  src/shared/sparse-endian.h | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/shared/sparse-endian.h b/src/shared/sparse-endian.h
> index eb4dbf3..c913fda 100644
> --- a/src/shared/sparse-endian.h
> +++ b/src/shared/sparse-endian.h
> @@ -21,6 +21,7 @@
>  #ifndef SPARSE_ENDIAN_H
>  #define SPARSE_ENDIAN_H
>
> +#include <byteswap.h>
>  #include <endian.h>

Kinda ridiculous to make endian.h not include byteswap.h, but ok, no
reason not to support this.

Applied!

Thanks
David

>  #include <stdint.h>
>
> --
> 2.1.0
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel


More information about the systemd-devel mailing list