public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix build failure on cygwin.
@ 2012-04-02 14:05 Andrej Krutak
  2012-04-02 21:31 ` Michal Marek
  0 siblings, 1 reply; 5+ messages in thread
From: Andrej Krutak @ 2012-04-02 14:05 UTC (permalink / raw)
  To: Michal Marek; +Cc: linux-kbuild, Andrej Krutak

The _B macro is defined by cygwin in ctype.h.
Move the inclusion to avoid build failure.

Signed-off-by: Andrej Krutak <andree@andree.sk>
---
 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
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-04-09 13:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-02 14:05 [PATCH] Fix build failure on cygwin Andrej Krutak
2012-04-02 21:31 ` Michal Marek
2012-04-02 22:22   ` Jon Loeliger
2012-04-03  6:35     ` [PATCH] Rename _B to _XBYTE in libfdt_env.h Andrej Krutak
2012-04-09 13:49       ` Jon Loeliger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox