From: Mikael Magnusson Date: Mon, 23 Apr 2007 19:02:33 +0000 (+0000) Subject: include the header that has gethostname X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=9e7a240dfd75368e1a79c6adb873a2c686639adb;p=chaz%2Fopenbox include the header that has gethostname --- diff --git a/openbox/client.c b/openbox/client.c index 2b9d5372..013836d1 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -41,6 +41,10 @@ #include "mouse.h" #include "render/render.h" +#ifdef HAVE_UNISTD_H +# include +#endif + #include #include diff --git a/openbox/client.h b/openbox/client.h index 4ee4d5c3..38722f42 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -116,7 +116,7 @@ struct _ObClient gchar *title; /*! Window title when iconified */ gchar *icon_title; - /*! Hostname of machine running client */ + /*! Hostname of machine running the client */ gchar *client_machine; /*! The application that created the window */