From 55059124a1cf703739fe816ea3a70e6af17f419b Mon Sep 17 00:00:00 2001 From: Bertrand C <66913901+bcheronn@users.noreply.github.com> Date: Fri, 10 Nov 2023 23:28:39 +0100 Subject: [PATCH] Update Colors.md Add system libraries include for the small example to compile --- docs/Colors.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/Colors.md b/docs/Colors.md index d98d8a7..838ff16 100644 --- a/docs/Colors.md +++ b/docs/Colors.md @@ -70,6 +70,8 @@ In this small example we will create a white image: ```c #include "MLX42/MLX42.h" +#include +#include // Bytes Per Pixel. Since each pixel is represented as an integer, it will be four bytes for four channels. #define BPP sizeof(int32_t) @@ -97,4 +99,4 @@ int32_t main(void) return (EXIT_SUCCESS); } -``` \ No newline at end of file +```