File 1168-erts-Include-stdio-in-erl_drv_thread-testsuite.patch of Package erlang

From b8b6984a0e3eefbb13f82501db7dd28c8a5bcf47 Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Thu, 25 Feb 2021 14:21:45 +0100
Subject: [PATCH 3/4] erts: Include stdio in erl_drv_thread testsuite

This is needed for it to compile on recent OS X releases
---
 erts/emulator/test/erl_drv_thread_SUITE_data/rwlock.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/erts/emulator/test/erl_drv_thread_SUITE_data/rwlock.c b/erts/emulator/test/erl_drv_thread_SUITE_data/rwlock.c
index 98d0162b55..c5c4b158de 100644
--- a/erts/emulator/test/erl_drv_thread_SUITE_data/rwlock.c
+++ b/erts/emulator/test/erl_drv_thread_SUITE_data/rwlock.c
@@ -25,6 +25,7 @@
 #include <unistd.h>
 #endif
 #include <errno.h>
+#include <stdio.h>
 
 #define NO_OF_THREADS 17
 
-- 
2.26.2

openSUSE Build Service is sponsored by