firmware-utils: fix build on not Linux
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Sat, 21 Aug 2021 19:08:07 +0000 (20:08 +0100)
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Sat, 21 Aug 2021 19:16:39 +0000 (20:16 +0100)
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
tools/firmware-utils/Makefile
tools/firmware-utils/src/mkzyxelzldfw.c

index d7f378d2f345fc87d14560b4e080ded55212c96d..7b669ac0c661bb4ec8bebac7a7674cc8d444080d 100644 (file)
@@ -7,7 +7,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME := firmware-utils
-PKG_RELEASE := 8
+PKG_RELEASE := 9
 
 include $(INCLUDE_DIR)/host-build.mk
 include $(INCLUDE_DIR)/kernel.mk
index 1b335f8ddce416fd991f3cae74fe2442822fec70..b61d0c14855c27c3cd76c7a5066c1cc36b56db58 100644 (file)
@@ -17,7 +17,7 @@
 #include <string.h>
 #include <unistd.h>
 #include <netinet/in.h>
-#include <linux/limits.h>
+#include <limits.h>
 #include "md5.h"
 
 #define ZYXEL_MAGIC    0xdeadbeaf