summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-11-20 11:53:34 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-11-20 11:53:45 +0100
commitec187e7cdb181bcd72ec63b9677d2c4cf23a5910 (patch)
tree964ff2532abe147eae2e3dba730bf4fead247bc2
parenta37946762fdefcc97b645cd34e76645eade2aeb9 (diff)
downloadlibksquirrel-ec187e7cdb181bcd72ec63b9677d2c4cf23a5910.tar.gz
libksquirrel-ec187e7cdb181bcd72ec63b9677d2c4cf23a5910.zip
Fix FTBFS due missing include
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 64c7c42ce1b5778be500b8a2f8c8b4778d8d64b8)
-rw-r--r--kernel/kls_pix/fmt_codec_pix_defs.h1
-rw-r--r--kernel/kls_tga/fmt_codec_tga.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/kernel/kls_pix/fmt_codec_pix_defs.h b/kernel/kls_pix/fmt_codec_pix_defs.h
index 993b790..9e0eec4 100644
--- a/kernel/kls_pix/fmt_codec_pix_defs.h
+++ b/kernel/kls_pix/fmt_codec_pix_defs.h
@@ -20,6 +20,7 @@
*/
#include <stdlib.h>
+#include <sys/types.h>
#ifndef KSQUIRREL_READ_IMAGE_pix
#define KSQUIRREL_READ_IMAGE_pix
diff --git a/kernel/kls_tga/fmt_codec_tga.cpp b/kernel/kls_tga/fmt_codec_tga.cpp
index 8a79229..a1e4b09 100644
--- a/kernel/kls_tga/fmt_codec_tga.cpp
+++ b/kernel/kls_tga/fmt_codec_tga.cpp
@@ -23,6 +23,7 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
+#include <sys/types.h>
#include "ksquirrel-libs/fmt_types.h"
#include "ksquirrel-libs/fileio.h"