From 0e97b84bfc542a51c1db1dd4571faa827a02064a Mon Sep 17 00:00:00 2001 From: Rasmus Villemoes Date: Wed, 27 Jun 2018 09:59:23 +0200 Subject: [PATCH] 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 --- fixincludes/ChangeLog | 5 +++++ fixincludes/tests/base/ioLib.h | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog index e9bdcbdfa6e..d4ac19c0a16 100644 --- a/fixincludes/ChangeLog +++ b/fixincludes/ChangeLog @@ -1,3 +1,8 @@ +2018-06-27 Rasmus Villemoes + + * tests/base/ioLib.h [VXWORKS_IOLIB_INCLUDE_UNISTD_CHECK]: Add + missing hunk. + 2018-06-12 Rasmus Villemoes * genfixes: exit 1 when autogen not found. diff --git a/fixincludes/tests/base/ioLib.h b/fixincludes/tests/base/ioLib.h index d570c895d57..a3ff6c1eb86 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 +#endif /* VXWORKS_IOLIB_INCLUDE_UNISTD_CHECK */ -- 2.30.2