]> git.gag.com Git - fw/altos/commitdiff
src: Add more includes to ao.h
authorKeith Packard <keithp@keithp.com>
Thu, 26 Sep 2024 15:23:48 +0000 (08:23 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 26 Sep 2024 15:25:06 +0000 (08:25 -0700)
This makes sure altos has all of the C library definitions it needs
rather than on relying on the C library to expose more than POSIX
says it should.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao.h

index b3f780f5c7609797c15c895e90b0fa965dcf1a44..0437cb07f3eb9929b680e4b4640b445d68414bbb 100644 (file)
 #ifndef _AO_H_
 #define _AO_H_
 
-#include <stdint.h>
+#include <inttypes.h>
 #include <stdio.h>
 #include <string.h>
 #include <stddef.h>
+#include <stdarg.h>
 #include <stdbool.h>
 #include <ao_pins.h>
 #include <ao_arch.h>