Remove typedef and include unistd.h

This commit is contained in:
blankhex committed 2026-08-18 10:24:38 +03:00
1 parent 8ce1f18be3
commit 5f6f895473
1 file changed
+8 -7
+8 -7
View File
@@ -1,19 +1,20 @@
#define _POSIX_C_SOURCE 200112L
#include "../CgeFs.h"
#include <sys/stat.h>
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <dirent.h>
#include <errno.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
typedef struct CgeFsDir {
struct CgeFsDir {
DIR *dir;
char path[PATH_MAX];
size_t size;
} CgeFsDir;
};
static int mapErrno(int value) {
switch (value) {