summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorXiang Xiao <xiaoxiang@xiaomi.com>2021-06-22 17:55:53 +0800
committerDaniel Stenberg <daniel@haxx.se>2021-06-22 14:35:24 +0200
commitcfaa035a0c65040116523362c3f608c0b35ad733 (patch)
tree9cf72e798d9a8b1aa570e0a374012399c311126b /include
parent2a73b6a3ab667c038f3a05c2512f7fa585729d31 (diff)
downloadcurl-cfaa035a0c65040116523362c3f608c0b35ad733.tar.gz
curl.h: include sys/select.h for NuttX RTOS
Closes #7287
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 1715d753f..78e38103e 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -74,7 +74,7 @@
#if defined(_AIX) || defined(__NOVELL_LIBC__) || defined(__NetBSD__) || \
defined(__minix) || defined(__SYMBIAN32__) || defined(__INTEGRITY) || \
defined(ANDROID) || defined(__ANDROID__) || defined(__OpenBSD__) || \
- defined(__CYGWIN__) || defined(AMIGA) || \
+ defined(__CYGWIN__) || defined(AMIGA) || defined(__NuttX__) || \
(defined(__FreeBSD_version) && (__FreeBSD_version < 800000)) || \
defined(__VXWORKS__)
#include <sys/select.h>