diff options
Diffstat (limited to 'firmware/export/general.h')
-rw-r--r-- | firmware/export/general.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/general.h b/firmware/export/general.h index 427e2773b8..f4ea9e206a 100644 --- a/firmware/export/general.h +++ b/firmware/export/general.h | |||
@@ -21,6 +21,7 @@ | |||
21 | #define GENERAL_H | 21 | #define GENERAL_H |
22 | 22 | ||
23 | #include <stdbool.h> | 23 | #include <stdbool.h> |
24 | #include <stddef.h> | ||
24 | 25 | ||
25 | /* round a signed/unsigned 32bit value to the closest of a list of values */ | 26 | /* round a signed/unsigned 32bit value to the closest of a list of values */ |
26 | /* returns the index of the closest value */ | 27 | /* returns the index of the closest value */ |
@@ -34,5 +35,6 @@ int make_list_from_caps32(unsigned long src_mask, | |||
34 | unsigned long caps_mask, | 35 | unsigned long caps_mask, |
35 | unsigned long *caps_list); | 36 | unsigned long *caps_list); |
36 | 37 | ||
38 | size_t align_buffer(void **start, size_t size, size_t align); | ||
37 | 39 | ||
38 | #endif /* GENERAL_H */ | 40 | #endif /* GENERAL_H */ |