diff options
Diffstat (limited to 'src/linux/internal.h')
-rw-r--r-- | src/linux/internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/linux/internal.h b/src/linux/internal.h index ac4f3f13..5a9ce907 100644 --- a/src/linux/internal.h +++ b/src/linux/internal.h @@ -2,7 +2,7 @@ #define __LINUX_INTERNAL_H // Local definitions for micro-controllers running on linux -#include <time.h> // struct timespec +#include <stdint.h> // uint32_t #include "autoconf.h" // CONFIG_CLOCK_FREQ #define MAX_GPIO_LINES 256 @@ -22,7 +22,7 @@ int console_setup(char *name); void console_sleep(struct timespec ts); // timer.c -int timer_check_periodic(struct timespec *ts); +int timer_check_periodic(uint32_t *ts); // watchdog.c int watchdog_setup(void); |