mazen Adel commented on a discussion on testsuites/psxtests/psxhdrs/semaphore/sem_clockwait.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/497#note_124516 > + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR > + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF > + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS > + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN > + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) > + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF > THE > + * POSSIBILITY OF SUCH DAMAGE. > + */ > + > +#define _POSIX_C_SOURCE 202405L > + > +#ifdef HAVE_CONFIG_H > +#include "config.h" > +#endif > + > +#include <fcntl.h> removing `#include time.h` gave an error because `clockid_t` isn't defined in `semaphore.h` so I kept it. I removed `#include <fcntl.h>` since it was useless. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/497#note_124516 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
