summaryrefslogtreecommitdiff
path: root/components/dfs/include
diff options
context:
space:
mode:
Diffstat (limited to 'components/dfs/include')
-rw-r--r--components/dfs/include/dfs_poll.h17
-rw-r--r--components/dfs/include/dfs_select.h17
2 files changed, 34 insertions, 0 deletions
diff --git a/components/dfs/include/dfs_poll.h b/components/dfs/include/dfs_poll.h
new file mode 100644
index 0000000000..cba73b04d4
--- /dev/null
+++ b/components/dfs/include/dfs_poll.h
@@ -0,0 +1,17 @@
+/*
+ * Copyright (c) 2006-2021, RT-Thread Development Team
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * Change Logs:
+ * Date Author Notes
+ */
+
+#ifndef DFS_POLL_H__
+#define DFS_POLL_H__
+
+#include <poll.h>
+
+#warning "This file will be obsolete in the next version! Please use <poll.h> to instead."
+
+#endif /* DFS_POLL_H__ */
diff --git a/components/dfs/include/dfs_select.h b/components/dfs/include/dfs_select.h
new file mode 100644
index 0000000000..5b7c6428bd
--- /dev/null
+++ b/components/dfs/include/dfs_select.h
@@ -0,0 +1,17 @@
+/*
+ * Copyright (c) 2006-2021, RT-Thread Development Team
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * Change Logs:
+ * Date Author Notes
+ */
+
+#ifndef DFS_SELECT_H__
+#define DFS_SELECT_H__
+
+#include <sys/select.h>
+
+#warning "This file will be obsolete in the next version! Please use <sys/select.h> to instead."
+
+#endif