1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-10-20 03:32:32 +03:00

fix build for midipix

Signed-off-by: Ørjan Malde <red@foxi.me>
This commit is contained in:
Ørjan Malde
2024-01-31 14:14:27 +01:00
parent 1b9cea30b1
commit 670100f475
2 changed files with 3 additions and 3 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