1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

fix build for midipix

Signed-off-by: Ørjan Malde <red@foxi.me>
This commit is contained in:
Ørjan Malde
2024-01-26 12:51:35 +00:00
parent 935182fe2b
commit 2a6cb5c881
2 changed files with 7 additions and 6 deletions

View File

@@ -5,7 +5,7 @@
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
*/
#if defined(__linux__) && !defined(_GNU_SOURCE)
#if defined(__linux__) || defined(__midipix__) && !defined(_GNU_SOURCE)
/* Ensure that syscall() is available even when compiling with -std=c99 */
#define _GNU_SOURCE
#endif