Skip to content

Commit 7f820d0

Browse files
Update tiny_stack_allocator.c (#15)
* 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)];``` * Bump version --------- Co-authored-by: Ryan Hartlage <ryanplusplus@gmail.com>
1 parent 4db8147 commit 7f820d0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"maintainer": true
1414
}
1515
],
16-
"version": "7.1.0",
16+
"version": "7.1.1",
1717
"frameworks": "*",
1818
"platforms": "*",
1919
"export": {

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)