summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Walsh <andy.walsh44+github@gmail.com>2018-08-13 14:33:39 +0200
committerJo-Philipp Wich <jo@mein.io>2018-08-13 14:37:04 +0200
commit22b8237ba1acb90caaf867bf657f7ed7497bbeb6 (patch)
treee3e3edc63589129ceeb28bbea2bc307edd508cf9
parentd6844b3bfa8ec6d4faae0f2751b6fc0f2bb46f46 (diff)
downloadmtk-20170518-22b8237ba1acb90caaf867bf657f7ed7497bbeb6.zip
mtk-20170518-22b8237ba1acb90caaf867bf657f7ed7497bbeb6.tar.gz
mtk-20170518-22b8237ba1acb90caaf867bf657f7ed7497bbeb6.tar.bz2
firmware-utils/mksercommfw: fix musl build
* add missing <sys/types.h> for musl Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
-rw-r--r--tools/firmware-utils/src/mksercommfw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/firmware-utils/src/mksercommfw.c b/tools/firmware-utils/src/mksercommfw.c
index 3c56170..b415776 100644
--- a/tools/firmware-utils/src/mksercommfw.c
+++ b/tools/firmware-utils/src/mksercommfw.c
@@ -1,6 +1,7 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
+#include <sys/types.h>
/* #define DEBUG 1 */