summaryrefslogtreecommitdiff
path: root/src/osfp.c
diff options
context:
space:
mode:
author4ling.cn <[email protected]>2024-03-12 10:50:25 +0000
committer4ling.cn <[email protected]>2024-03-12 10:55:51 +0000
commitaf67397fc95133162d8039452941801249e63cfc (patch)
tree59c8ace127e20317abb8c76698595917341b0869 /src/osfp.c
parent7a2d2b50208259dcd5402d0fbd4422265b0ace7f (diff)
fix compile warningHEADv1.3.6develop
Diffstat (limited to 'src/osfp.c')
-rw-r--r--src/osfp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osfp.c b/src/osfp.c
index c43041f..7210b60 100644
--- a/src/osfp.c
+++ b/src/osfp.c
@@ -1,4 +1,5 @@
#include <sys/fcntl.h>
+#include <unistd.h>
#include "cJSON.h"