[mutter/wayland] wayland: fix a compiler warning



commit d26f248b0f8e93076710015ac3497e85d4db7a30
Author: Giovanni Campagna <gcampagn redhat com>
Date:   Wed Jul 17 10:44:29 2013 +0200

    wayland: fix a compiler warning
    
    Implicit declaration of memset
    
    https://bugzilla.gnome.org/show_bug.cgi?id=706363

 src/wayland/meta-wayland-pointer.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/wayland/meta-wayland-pointer.c b/src/wayland/meta-wayland-pointer.c
index fd0efed..7564a5c 100644
--- a/src/wayland/meta-wayland-pointer.c
+++ b/src/wayland/meta-wayland-pointer.c
@@ -45,6 +45,8 @@
 
 #include "meta-wayland-pointer.h"
 
+#include <string.h>
+
 static MetaWaylandSeat *
 meta_wayland_pointer_get_seat (MetaWaylandPointer *pointer)
 {


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