summaryrefslogtreecommitdiff
path: root/tests/common.h
diff options
context:
space:
mode:
authorjvoisin2024-10-08 03:51:44 +0200
committerjvoisin2024-10-08 15:21:13 +0200
commitf8155f0b945c5cfb3600d7c146a5d86870ed09d2 (patch)
treeff2d7d484867895ac3bb1175de09c78d9c9a9188 /tests/common.h
parent6573631a5e4339a2fc2f86680e36e35e25bf416c (diff)
Run various C versions in the CI
Diffstat (limited to 'tests/common.h')
-rw-r--r--tests/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/common.h b/tests/common.h
index 4c34862..6a30739 100644
--- a/tests/common.h
+++ b/tests/common.h
@@ -15,6 +15,9 @@
15 License along with the GNU C Library; if not, see 15 License along with the GNU C Library; if not, see
16 <https://www.gnu.org/licenses/>. */ 16 <https://www.gnu.org/licenses/>. */
17 17
18#define _POSIX_C_SOURCE 1
19#define _XOPEN_SOURCE 700
20
18#include <setjmp.h> 21#include <setjmp.h>
19#include <unistd.h> 22#include <unistd.h>
20#include <signal.h> 23#include <signal.h>