summaryrefslogtreecommitdiff
path: root/include/libc/libc_fdset.h
diff options
context:
space:
mode:
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>