diff options
author | Rasmus Villemoes <rv@rasmusvillemoes.dk> | 2018-06-27 09:59:23 +0200 |
---|---|---|
committer | Rasmus Villemoes <villemoes@gcc.gnu.org> | 2018-06-27 07:59:23 +0000 |
commit | 0e97b84bfc542a51c1db1dd4571faa827a02064a (patch) | |
tree | 5ba801bd3228124a7b8a2c3865481237a9eede82 /fixincludes/tests/base/ioLib.h | |
parent | 643ef9571905ce704dc68ef27708e83a2a242355 (diff) | |
download | gcc-0e97b84bfc542a51c1db1dd4571faa827a02064a.zip gcc-0e97b84bfc542a51c1db1dd4571faa827a02064a.tar.gz gcc-0e97b84bfc542a51c1db1dd4571faa827a02064a.tar.bz2 |
fixincludes: Add missing hunk to tests/base/ioLib.h
When adding the vxworks_iolib_include_unistd hack I failed to add the
appropriate hunk to the tests/base/ioLib.h file, causing "make
check-fixincludes" to fail.
From-SVN: r262177
Diffstat (limited to 'fixincludes/tests/base/ioLib.h')
-rw-r--r-- | fixincludes/tests/base/ioLib.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fixincludes/tests/base/ioLib.h b/fixincludes/tests/base/ioLib.h index d570c89..a3ff6c1 100644 --- a/fixincludes/tests/base/ioLib.h +++ b/fixincludes/tests/base/ioLib.h @@ -17,3 +17,8 @@ extern int ioctl ( int asdf1234, int jkl , int qwerty ) ; #if defined( VXWORKS_WRITE_CONST_CHECK ) extern int write (int, const char*, size_t); #endif /* VXWORKS_WRITE_CONST_CHECK */ + + +#if defined( VXWORKS_IOLIB_INCLUDE_UNISTD_CHECK ) +#include <unistd.h> +#endif /* VXWORKS_IOLIB_INCLUDE_UNISTD_CHECK */ |