fixincludes: Add missing hunk to tests/base/ioLib.h
authorRasmus Villemoes <rv@rasmusvillemoes.dk>
Wed, 27 Jun 2018 07:59:23 +0000 (09:59 +0200)
committerRasmus Villemoes <villemoes@gcc.gnu.org>
Wed, 27 Jun 2018 07:59:23 +0000 (07:59 +0000)
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
fixincludes/tests/base/ioLib.h

index e9bdcbdfa6e2e5e21d1abd39892ae22910704a8c..d4ac19c0a1633d3c89660d0836b00a9c91f2626b 100644 (file)
@@ -1,3 +1,8 @@
+2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
+
+       * tests/base/ioLib.h [VXWORKS_IOLIB_INCLUDE_UNISTD_CHECK]: Add
+       missing hunk.
+
 2018-06-12    Rasmus Villemoes <rasmus.villemoes@prevas.dk>
 
        * genfixes: exit 1 when autogen not found.
index d570c895d571e2e95135171e0d978573d9a06177..a3ff6c1eb86ab99045dca45b70b1fc3a0153d110 100644 (file)
@@ -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 */