summaryrefslogtreecommitdiff
path: root/include/libc/libc_fdset.h
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2020-09-11 13:20:50 +0800
committerGitHub <[email protected]>2020-09-11 13:20:50 +0800
commitac751db6703f8117c8f3db5b612536cddf59bdcc (patch)
tree5d14525930868492bd142e9026a5e3c50fc42738 /include/libc/libc_fdset.h
parent36cb4349a61d768c5e2fad0798647dfb3e0b523e (diff)
parentb3ab8a99e10f68042a3f2cba11e130004aa124e4 (diff)
Merge pull request #3888 from mysterywolf/master
[add] [libc] libc新增getline/getdelim函数(posix.1-2008)
Diffstat (limited to 'include/libc/libc_fdset.h')
-rw-r--r--include/libc/libc_fdset.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/libc/libc_fdset.h b/include/libc/libc_fdset.h
index ecd965cd22..4a778b51c1 100644
--- a/include/libc/libc_fdset.h
+++ b/include/libc/libc_fdset.h
@@ -2,10 +2,6 @@
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
- */
-
-/*
- * File : libc_errno.h
*
* Change Logs:
* Date Author Notes
@@ -17,7 +13,7 @@
#include <rtconfig.h>
-#if defined(RT_USING_NEWLIB) || defined(_WIN32)
+#if defined(RT_USING_NEWLIB) || defined(_WIN32) || defined( __GNUC__ )
#include <sys/types.h>
#if defined(HAVE_SYS_SELECT_H)
#include <sys/select.h>