diff options
author | Josua Mayer <josua.mayer97@gmail.com> | 2016-08-17 10:27:12 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-08-18 09:49:18 +0200 |
commit | 1e71fca7777eeee39a941bdc05535b3e93eb01e9 (patch) | |
tree | b0fba7f341ac6dd028caf97bc2781044f4a39c59 /package/system/mtd | |
parent | c8580f51ba8c9eef787bef7b3e259860858c0f62 (diff) | |
download | upstream-1e71fca7777eeee39a941bdc05535b3e93eb01e9.tar.gz upstream-1e71fca7777eeee39a941bdc05535b3e93eb01e9.tar.bz2 upstream-1e71fca7777eeee39a941bdc05535b3e93eb01e9.zip |
mtd: fix building with glibc
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>
Diffstat (limited to 'package/system/mtd')
-rw-r--r-- | package/system/mtd/src/linksys_bootcount.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/system/mtd/src/linksys_bootcount.c b/package/system/mtd/src/linksys_bootcount.c index 95f75fe4ba..500ede4972 100644 --- 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> |