summaryrefslogtreecommitdiffstats
path: root/freebsd/libraries/libksquirrel/files/patch-bp000-fix-ftbfs-on-missing-include.diff
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/libraries/libksquirrel/files/patch-bp000-fix-ftbfs-on-missing-include.diff')
-rw-r--r--freebsd/libraries/libksquirrel/files/patch-bp000-fix-ftbfs-on-missing-include.diff24
1 files changed, 24 insertions, 0 deletions
diff --git a/freebsd/libraries/libksquirrel/files/patch-bp000-fix-ftbfs-on-missing-include.diff b/freebsd/libraries/libksquirrel/files/patch-bp000-fix-ftbfs-on-missing-include.diff
new file mode 100644
index 000000000..0b2257ab7
--- /dev/null
+++ b/freebsd/libraries/libksquirrel/files/patch-bp000-fix-ftbfs-on-missing-include.diff
@@ -0,0 +1,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"