void-packages/srcpkgs/libGL/patches/musl-endian.patch

12 lines
333 B
Diff
Raw Normal View History

2016-11-04 13:20:59 +01:00
--- src/util/u_endian.h.orig 2016-11-04 12:16:00.480356454 +0100
+++ src/util/u_endian.h 2016-11-04 12:16:11.984347944 +0100
@@ -27,7 +27,7 @@
#ifndef U_ENDIAN_H
#define U_ENDIAN_H
-#if defined(__GLIBC__) || defined(ANDROID)
+#if defined(__linux__) || defined(ANDROID)
#include <endian.h>
#if __BYTE_ORDER == __LITTLE_ENDIAN