mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-08 14:57:11 +02:00
28 lines
601 B
Diff
28 lines
601 B
Diff
diff --git a/libs/std/sys.c b/libs/std/sys.c
|
|
index 8003d41..fc59b01 100644
|
|
--- a/libs/std/sys.c
|
|
+++ b/libs/std/sys.c
|
|
@@ -41,7 +41,6 @@
|
|
# include <sys/time.h>
|
|
# include <sys/times.h>
|
|
# include <sys/wait.h>
|
|
-# include <xlocale.h>
|
|
#endif
|
|
|
|
#ifdef NEKO_MAC
|
|
diff --git a/vm/module.c b/vm/module.c
|
|
index 7f857af..34afa52 100644
|
|
--- a/vm/module.c
|
|
+++ b/vm/module.c
|
|
@@ -34,6 +34,10 @@ DEFINE_KIND(neko_kind_module);
|
|
#ifdef NEKO_BSD
|
|
# include <sys/endian.h>
|
|
#endif
|
|
+#ifdef __GNUC__
|
|
+# include <endian.h>
|
|
+#define BYTE_ORDER __BYTE_ORDER
|
|
+#endif
|
|
#ifndef LITTLE_ENDIAN
|
|
# define LITTLE_ENDIAN 1
|
|
#endif
|