Add VxWorks fixincludes hack, #include sysLib.h in time.h
commit943fad67028c7164ddf9f818877394f74c06f254
authorOlivier Hainque <hainque@adacore.com>
Thu, 6 Jan 2022 17:28:20 +0000 (6 17:28 +0000)
committerOlivier Hainque <hainque@adacore.com>
Sun, 16 Jan 2022 09:22:14 +0000 (16 09:22 +0000)
treef119ad3270e87ed178de1f47eb0f4f96e28566ca
parent00cc412660fe4d64c0b04da9ae20b1ad6ef92bb0
Add VxWorks fixincludes hack, #include sysLib.h in time.h

Make sure there is a visible prototype of sysClkRateGet() when
CLOCKS_PER_SEC is #defined to that in time.h for VxWorks.  This
would typically be provided by sysLib.h.

2021-01-10  Olivier Hainque  <hainque@adacore.com>

* inclhack.def (vxworks_time_h_syslib): New hack.
* tests/base/time.h: Update.
* fixincl.x: Regenerate.
fixincludes/fixincl.x
fixincludes/inclhack.def
fixincludes/tests/base/time.h