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:34 +0100
commit64c7c42ce1b5778be500b8a2f8c8b4778d8d64b8 (patch)
tree5f7cebfab3119d08fb7003b3b12250d274bdaae5
parent1c7d178b1dc655ce6ef7fefbdeedecc28f1725c7 (diff)
downloadlibksquirrel-64c7c42c.tar.gz
libksquirrel-64c7c42c.zip
Fix FTBFS due missing include
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-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"