1
0
mirror of https://github.com/fumiama/CMoe-Counter.git synced 2024-11-24 06:10:11 +01:00

fix(compile): error: 'O_CREAT' undeclared

This commit is contained in:
源文雨 2024-04-12 22:43:43 +09:00
parent f45ea491d9
commit 3a9536d08e

2
cmoe.c
View File

@ -1,3 +1,4 @@
#include <fcntl.h>
#include <simple_protobuf.h> #include <simple_protobuf.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -5,6 +6,7 @@
#include <sys/file.h> #include <sys/file.h>
#include <sys/uio.h> #include <sys/uio.h>
#include <unistd.h> #include <unistd.h>
#include "cmoe.h" #include "cmoe.h"
static uint32_t* items_len; static uint32_t* items_len;