[mutter] [display] Include unistd.h for gethostname



commit 72a19dd448139f68c1d0a0165d16613b34818138
Author: Colin Walters <walters verbum org>
Date:   Mon Jun 7 12:32:56 2010 -0400

    [display] Include unistd.h for gethostname
    
    https://bugzilla.gnome.org/show_bug.cgi?id=620860

 src/core/display.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/core/display.c b/src/core/display.c
index ad9d13a..9fedf0a 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -72,6 +72,7 @@
 #include <X11/extensions/Xdamage.h>
 #include <X11/extensions/Xfixes.h>
 #include <string.h>
+#include <unistd.h>
 
 #define GRAB_OP_IS_WINDOW_SWITCH(g)                     \
         (g == META_GRAB_OP_KEYBOARD_TABBING_NORMAL  ||  \



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