1f08c3bdfSopenharmony_ci// SPDX-License-Identifier: GPL-2.0-or-later 2f08c3bdfSopenharmony_ci/* 3f08c3bdfSopenharmony_ci * Copyright (c) 2019 Linaro Limited. All rights reserved. 4f08c3bdfSopenharmony_ci * Author: Daniel Díaz <daniel.diaz@linaro.org> 5f08c3bdfSopenharmony_ci */ 6f08c3bdfSopenharmony_ci 7f08c3bdfSopenharmony_ci#ifndef LAPI_SIGNAL_H__ 8f08c3bdfSopenharmony_ci#define LAPI_SIGNAL_H__ 9f08c3bdfSopenharmony_ci 10f08c3bdfSopenharmony_ci#include <signal.h> 11f08c3bdfSopenharmony_ci 12f08c3bdfSopenharmony_ci/* 13f08c3bdfSopenharmony_ci * Some libc implementations might differ in the definitions they include. This 14f08c3bdfSopenharmony_ci * covers those differences for all tests to successfully build. 15f08c3bdfSopenharmony_ci */ 16f08c3bdfSopenharmony_ci 17f08c3bdfSopenharmony_ci#ifndef __SIGRTMIN 18f08c3bdfSopenharmony_ci# define __SIGRTMIN 32 19f08c3bdfSopenharmony_ci#endif 20f08c3bdfSopenharmony_ci#ifndef __SIGRTMAX 21f08c3bdfSopenharmony_ci# define __SIGRTMAX (_NSIG - 1) 22f08c3bdfSopenharmony_ci#endif 23f08c3bdfSopenharmony_ci 24f08c3bdfSopenharmony_ci#endif /* LAPI_SIGNAL_H__ */ 25