From 4ac1c65007f224614e88169d43a31a76a85b5883 Mon Sep 17 00:00:00 2001 From: Mainak Debnath <55401423+mainak-debnath@users.noreply.github.com> Date: Tue, 16 Mar 2021 23:37:52 +0530 Subject: [PATCH] fix: Added `limits.h` in `data_structures/heap/max_heap.c` (#812) * fix: added limits.h header * fix: added limits.h header in max_heap.c * update: adding better documentation * update: added documentation for header files * update: changed comment for header files Co-authored-by: David Leal --- data_structures/heap/max_heap.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/data_structures/heap/max_heap.c b/data_structures/heap/max_heap.c index eb40695f..97ec2dec 100644 --- a/data_structures/heap/max_heap.c +++ b/data_structures/heap/max_heap.c @@ -1,5 +1,6 @@ -#include -#include +#include /// for INT_MIN +#include /// for IO operations +#include /// for dynamic memory allocation typedef struct max_heap {