ports/graphics/libcaca/patches/patch-caca_dither_c

14 lines
379 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
--- caca/dither.c.orig Sun Jul 13 16:35:01 2014
+++ caca/dither.c Sun Jul 13 16:36:06 2014
@@ -19,6 +19,10 @@
#if !defined(__KERNEL__)
# if defined(HAVE_ENDIAN_H)
# include <endian.h>
+# if !defined(__BYTE_ORDER)
+# define __BYTE_ORDER BYTE_ORDER
+# define __BIG_ENDIAN BIG_ENDIAN
+# endif
# endif
# include <stdio.h>
# include <stdlib.h>