mmc-utils: Fix 64-bit values redefinition
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Thu, 30 Jan 2014 09:59:06 +0000 (09:59 +0000)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 4 Feb 2014 08:59:16 +0000 (09:59 +0100)
commitabe55df74d588d3b4401ff89dae47c3b67a1908a
treede4033ac73c2a3c5530b36140d215ef3afc4e715
parent443af537d29912ac868531e0c4078e91cb1d6c39
mmc-utils: Fix 64-bit values redefinition

Some toolchains include asm-generic/int-l64.h from their asm/types.h
file for certain 64-bit architectures. This causes a conflict between
types like this one:

asm-generic/int-l64.h:28:25: error: conflicting types for '__s64'
 typedef __signed__ long __s64;
             ^
In file included from mmc.h:17:0,
         from mmc_cmds.c:30:
asm-generic/int-ll64.h:29:44: note: previous declaration of '__s64' was
here
 __extension__ typedef __signed__ long long __s64;

This patch has been submitted upstream.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/mmc-utils/0001-mmc-utils-Fix-64-bit-values-redefinition.patch [new file with mode: 0644]