diff options
author | John Crispin <john@openwrt.org> | 2015-12-11 15:09:30 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-12-11 15:09:30 +0000 |
commit | 244173a09392e3b9beb02305e4b4036572044f21 (patch) | |
tree | 1112c4ccc1f57aa3473681c6a13da044e96cbc9b /tools/firmware-utils/src/wrt400n.c | |
parent | 0231d4135284dec47ec6597cf938698c6117ef1a (diff) | |
download | upstream-244173a09392e3b9beb02305e4b4036572044f21.tar.gz upstream-244173a09392e3b9beb02305e4b4036572044f21.tar.bz2 upstream-244173a09392e3b9beb02305e4b4036572044f21.zip |
firmware-utils: fix various compiler warnings
mostly implicit defines due to missing includes plus one const that
shouldn't be one.
Signed-off-by: Felix Kaechele <felix@kaechele.ca>
SVN-Revision: 47865
Diffstat (limited to 'tools/firmware-utils/src/wrt400n.c')
-rw-r--r-- | tools/firmware-utils/src/wrt400n.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/firmware-utils/src/wrt400n.c b/tools/firmware-utils/src/wrt400n.c index a9a4908060..1cf1debc89 100644 --- a/tools/firmware-utils/src/wrt400n.c +++ b/tools/firmware-utils/src/wrt400n.c @@ -7,12 +7,14 @@ * * Author: Sandeep Mistry */ +#include <arpa/inet.h> #include <fcntl.h> #include <stdio.h> #include <stdint.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> +#include <unistd.h> #include "cyg_crc.h" |