summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys/features.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-12-01 09:46:32 -0600
committerJoel Sherrill <joel@rtems.org>2016-12-05 21:00:38 -0600
commit1a2741508b9072f25f3f348c407eb431ca59019b (patch)
tree64c21202c70e49336229aa7ba7b073a68cb9c163 /newlib/libc/include/sys/features.h
parentdf2ea99a50e7c38e750a8ec6df5a119bdbf59541 (diff)
downloadcygnal-1a2741508b9072f25f3f348c407eb431ca59019b.tar.gz
cygnal-1a2741508b9072f25f3f348c407eb431ca59019b.tar.bz2
cygnal-1a2741508b9072f25f3f348c407eb431ca59019b.zip
Add <devctl.h> per POSIX 1003.26-2003
Diffstat (limited to 'newlib/libc/include/sys/features.h')
-rw-r--r--newlib/libc/include/sys/features.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h
index 93635ba6d..a23158ca2 100644
--- a/newlib/libc/include/sys/features.h
+++ b/newlib/libc/include/sys/features.h
@@ -366,6 +366,9 @@ extern "C" {
/* UNIX98 added some new pthread mutex attributes */
#define _UNIX98_THREAD_MUTEX_ATTRIBUTES 1
+/* POSIX 1003.26-2003 defined device control method */
+#define _POSIX_26_VERSION 200312L
+
#endif
/* XMK loosely adheres to POSIX -- 1003.1 */