projects
/
openwrt
/
staging
/
dangole.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8580f5
)
mtd: fix building with glibc
author
Josua Mayer
<josua.mayer97@gmail.com>
Wed, 17 Aug 2016 08:27:12 +0000
(10:27 +0200)
committer
John Crispin
<john@phrozen.org>
Thu, 18 Aug 2016 07:49:18 +0000
(09:49 +0200)
src/linksys_bootcount.c misses to include stdint.h.
Apparently musl doesn't mind and includes this header by default,
but glibc does not and causes the build to fail.
Signed-off-by: Josua Mayer <josua.mayer97@gmail.com>
package/system/mtd/src/linksys_bootcount.c
patch
|
blob
|
history
diff --git
a/package/system/mtd/src/linksys_bootcount.c
b/package/system/mtd/src/linksys_bootcount.c
index 95f75fe4ba722646aa5965f1335d584ca25f80aa..500ede497276b1d1c7e53d504c6a64cec06766f5 100644
(file)
--- a/
package/system/mtd/src/linksys_bootcount.c
+++ b/
package/system/mtd/src/linksys_bootcount.c
@@
-28,6
+28,7
@@
#include <endian.h>
#include <string.h>
#include <errno.h>
+#include <stdint.h>
#include <sys/ioctl.h>
#include <mtd/mtd-user.h>