diff options
| author | 4ling.cn <[email protected]> | 2024-03-12 10:50:25 +0000 |
|---|---|---|
| committer | 4ling.cn <[email protected]> | 2024-03-12 10:50:25 +0000 |
| commit | 7756d2e195f4c34ec896170879d28938bd04e8a0 (patch) | |
| tree | 4c87fbfb707843b244f67eed4d9a35e40f326aa9 /src | |
| parent | 7a2d2b50208259dcd5402d0fbd4422265b0ace7f (diff) | |
fix compile warningv1.3.5
Diffstat (limited to 'src')
| -rw-r--r-- | src/osfp.c | 1 | ||||
| -rw-r--r-- | src/osfp_common.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -1,4 +1,5 @@ #include <sys/fcntl.h> +#include <unistd.h> #include "cJSON.h" diff --git a/src/osfp_common.c b/src/osfp_common.c index 6f6f596..d2a76d3 100644 --- a/src/osfp_common.c +++ b/src/osfp_common.c @@ -2,6 +2,7 @@ #include <stdlib.h> #include <string.h> +#include <sys/stat.h> #include <sys/fcntl.h> #include "osfp_common.h" |
