refactor: clean includes

This commit is contained in:
2025-11-08 14:29:37 +01:00
parent c111bd0c74
commit 197c0c70da
14 changed files with 25 additions and 12 deletions
+2 -1
View File
@@ -3,9 +3,10 @@
#include <sys/stat.h>
#include <unistd.h>
#include "shared.h"
#include "types.h"
#include "shared.h"
static void *open_shared(const char *key, size_t size, int *fd) {
*fd = shm_open(key, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR);
ftruncate(*fd, size);