[display] Include unistd.h for gethostname

https://bugzilla.gnome.org/show_bug.cgi?id=620860
This commit is contained in:
Colin Walters 2010-06-07 12:32:56 -04:00
parent 3a73f6b8ec
commit 72a19dd448

View File

@ -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 || \