summaryrefslogtreecommitdiffstats
path: root/freebsd/libraries/libksquirrel/files/patch-bp000-fix-ftbfs-on-missing-include.diff
blob: 0b2257ab77aed0653b5fe2b446f43bcf5d59bd2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"