firmware-utils/mksercommfw: fix musl build
authorAndy Walsh <andy.walsh44+github@gmail.com>
Mon, 13 Aug 2018 12:33:39 +0000 (14:33 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:47:46 +0000 (17:47 +0100)
* add missing <sys/types.h> for musl

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
(backported from 22b8237ba1acb90caaf867bf657f7ed7497bbeb6)

tools/firmware-utils/src/mksercommfw.c

index 3c561708d1c962dff72dfb5de8de77cb5b6fa33c..b415776a956d7e3a5fa886df7d8476911a98f9dc 100644 (file)
@@ -1,6 +1,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
+#include <sys/types.h>
 
 /* #define DEBUG 1 */