ports/graphics/libcaca/patches/patch-examples_font_c

14 lines
372 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
--- examples/font.c.orig Sun Jul 13 17:02:02 2014
+++ examples/font.c Sun Jul 13 17:02:56 2014
@@ -15,6 +15,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>