firmware-utils: fix various compiler warnings
[openwrt/svn-archive/archive.git] / tools / firmware-utils / src / wrt400n.c
index a9a4908060c674fe89f9eee952a5736935364e16..1cf1debc89341d9ffbc7dae94eb5af721a1c6376 100644 (file)
@@ -7,12 +7,14 @@
  *
  *     Author: Sandeep Mistry
  */
  *
  *     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 <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"
 
 
 #include "cyg_crc.h"