Skip to contentSkip to conversation

tools/env: Fix build failure from missing header include

PATCH In review Joe Hershberger 4 participants 4 messages Oct 12, 2012 – Oct 15, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/env: Fix build failure from missing header include

This was introduced in:
8679d0ffdcc0beafea8e6942c0c67cf859afa18e -
COMMON: Use __stringify() instead of MK_STR()

The header is now needed since common.h is not included in this tool.

---
 tools/env/fw_env.c | 1 +
 1 file changed, 1 insertion(+)
tools/env/fw_env.c +1 -0
index 520ce3f..ab8c15d 100644
@@ -26,6 +26,7 @@
 
 #include <errno.h>
 #include <fcntl.h>
+#include <linux/stringify.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <stddef.h>
Signature · 1 line
1.7.11.5
#1 lore raw

PATCH 1/1 tools/env: Fix build failure from missing header include

Dear Joe Hershberger,

Quoted 5 lines

This was introduced in:
8679d0ffdcc0beafea8e6942c0c67cf859afa18e -
COMMON: Use __stringify() instead of MK_STR()

The header is now needed since common.h is not included in this tool.

Good find. This is -next, right ?

Quoted 10 lines
---
 tools/env/fw_env.c | 1 +
 1 file changed, 1 insertion(+)
tools/env/fw_env.c +0 -0
index 520ce3f..ab8c15d 100644

tools/env/fw_env.c line 32

Quoted 7 lines
tools/env/fw_env.c +1 -0
@@ -26,6 +26,7 @@
 
 #include <errno.h>
 #include <fcntl.h>
+#include <linux/stringify.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <stddef.h>

Best regards,
Marek Vasut

#2 lore raw

PATCH 1/1 tools/env: Fix build failure from missing header include

Hi Marek,

Quoted 9 lines · Marek Vasut

Dear Joe Hershberger,

Quoted 5 lines

This was introduced in:
8679d0ffdcc0beafea8e6942c0c67cf859afa18e -
COMMON: Use __stringify() instead of MK_STR()

The header is now needed since common.h is not included in this tool.

Good find. This is -next, right ?

Correct... this is based on -next.

-Joe

#3 lore raw
In reply to Joe Hershberger
Quoted 7 lines · Joe Hershberger

This was introduced in:
8679d0ffdcc0beafea8e6942c0c67cf859afa18e -
COMMON: Use __stringify() instead of MK_STR()

The header is now needed since common.h is not included in this tool.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121015/3aae4ae6/attachment.pgp>