Skip to content

Commit 8a640c4

Browse files
authored
Update tiny_stack_allocator.c
I am trying to use this as a library for esphome I think this will fix an error I'm getting ``` src/tiny_stack_allocator.c:16:5: error: unknown type name 'max_align_t' max_align_t data[max(_size, sizeof(max_align_t)) / sizeof(max_align_t)];```
1 parent 4db8147 commit 8a640c4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/tiny_stack_allocator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*/
55

66
#include <stddef.h>
7+
#include <stdalign.h>
78
#include <stdint.h>
89
#include "tiny_stack_allocator.h"
910
#include "tiny_utils.h"

0 commit comments

Comments
 (0)