From: Erlon Cruz <[email protected]>

A few files (the generated marshalling code and pixman-related utils)
make use of WORDS_BIGENDIAN in order to do the right thing depending on
endianness. configure.ac must call AC_C_BIGENDIAN for it to be defined.

Signed-off-by: Erlon R. Cruz <[email protected]>
Signed-off-by: Rafael F. Santos <[email protected]>
Signed-off-by: Fabiano Fidêncio <Fabiano.Fidê[email protected]>
---
 m4/spice-deps.m4 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/m4/spice-deps.m4 b/m4/spice-deps.m4
index e5eb7fd..2477dbc 100644
--- a/m4/spice-deps.m4
+++ b/m4/spice-deps.m4
@@ -3,6 +3,7 @@
 # Checks for header files and library functions needed by spice-common.
 # ---------------------
 AC_DEFUN([SPICE_CHECK_SYSDEPS], [
+    AC_C_BIGENDIAN
     AC_FUNC_ALLOCA
     AC_CHECK_HEADERS([arpa/inet.h malloc.h netinet/in.h stddef.h stdint.h 
stdlib.h string.h sys/socket.h unistd.h])
 
-- 
2.1.0

_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to