aboutsummaryrefslogtreecommitdiff
path: root/include/util
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2023-06-05 23:45:28 +0300
committerAlexander Orzechowski <alex@ozal.ski>2023-06-05 21:06:19 +0000
commit3dc646ea889084cd7aa980f38124b5df548cf10d (patch)
tree1ee02a0e22793f8c6d7efb4b08d8a66aa8ba4d2c /include/util
parentc5f4df6c961abef073414e14388878df8cd16947 (diff)
Add some missing includes/declarations
Diffstat (limited to 'include/util')
-rw-r--r--include/util/shm.h1
-rw-r--r--include/util/time.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/util/shm.h b/include/util/shm.h
index 331532fc..3beabcab 100644
--- a/include/util/shm.h
+++ b/include/util/shm.h
@@ -2,6 +2,7 @@
#define UTIL_SHM_H
#include <stdbool.h>
+#include <stddef.h>
int create_shm_file(void);
int allocate_shm_file(size_t size);
diff --git a/include/util/time.h b/include/util/time.h
index 09a1f68e..3f76aa47 100644
--- a/include/util/time.h
+++ b/include/util/time.h
@@ -1,6 +1,7 @@
#ifndef UTIL_TIME_H
#define UTIL_TIME_H
+#include <stdint.h>
#include <time.h>
/**