Re: [PATCH] Fix build failure on cygwin. |
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Adding Jon Loeliger (dtc maintainer) to CC.
Dne 2.4.2012 16:05, Andrej Krutak napsal(a):
> The _B macro is defined by cygwin in ctype.h.
> Move the inclusion to avoid build failure.
But nothing prevents the other system headers from including <ctype.h>
earlier :-(. A more robust fix would be to rename the macro to something
that does not clash (fdt_b??). But that's up to Jon.
Michal
>
> Signed-off-by: Andrej Krutak <andree@xxxxxxxxx>
> ---
> scripts/dtc/dtc.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/scripts/dtc/dtc.h b/scripts/dtc/dtc.h
> index f37c97e..7aa3cc6 100644
> --- a/scripts/dtc/dtc.h
> +++ b/scripts/dtc/dtc.h
> @@ -27,13 +27,13 @@
> #include <stdint.h>
> #include <stdarg.h>
> #include <assert.h>
> -#include <ctype.h>
> #include <errno.h>
> #include <unistd.h>
>
> #include <libfdt_env.h>
> #include <fdt.h>
>
> +#include <ctype.h>
> #include "util.h"
>
> #ifdef DEBUG
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux USB Devel]
[Linux Media]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]