mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-26 20:02:30 +01:00
The latter is not available in -std=c99 (e.g. as used by python3 build) and ffitarget.h tries to include sgidefs.h from a wrong location.
12 lines
262 B
Diff
12 lines
262 B
Diff
--- a/src/mips/ffitarget.h
|
|
+++ b/src/mips/ffitarget.h
|
|
@@ -32,7 +32,7 @@
|
|
#error "Please do not include ffitarget.h directly into your source. Use ffi.h instead."
|
|
#endif
|
|
|
|
-#ifdef linux
|
|
+#ifdef __linux__
|
|
# include <asm/sgidefs.h>
|
|
#elif defined(__rtems__)
|
|
/*
|