[fix] add the header file to avoid compiler error. (#5643)

This commit is contained in:
xiangxistu
2022-03-08 11:35:11 +08:00
committed by GitHub
parent 0a8dd10b0b
commit ffae7a2612
2 changed files with 2 additions and 0 deletions

View File

@@ -18,6 +18,7 @@
#include <fcntl.h> #include <fcntl.h>
#include <poll.h> #include <poll.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <dfs_file.h>
/** /**
* @brief This function will open a pipe. * @brief This function will open a pipe.

View File

@@ -15,6 +15,7 @@
#include <unistd.h> #include <unistd.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/statfs.h> #include <sys/statfs.h>
#include <sys/errno.h>
#include "sys/mman.h" #include "sys/mman.h"