[glib] Explicitly include endian.h



commit 34cb9c7de1ceaa854660f18544e4048cbdac4bf6
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jul 25 10:15:08 2016 -0400

    Explicitly include endian.h
    
    htole64 is defined here.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=769139

 glib/gmessages.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/glib/gmessages.c b/glib/gmessages.c
index 70b93a2..c81970c 100644
--- a/glib/gmessages.c
+++ b/glib/gmessages.c
@@ -106,6 +106,7 @@
 #include <sys/un.h>
 #include <fcntl.h>
 #include <sys/uio.h>
+#include <endian.h>
 
 #include "glib-init.h"
 #include "galloca.h"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]