summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2007-04-23 19:02:33 +0000
committerMikael Magnusson <mikachu@comhem.se>2007-04-23 19:02:33 +0000
commit9e7a240dfd75368e1a79c6adb873a2c686639adb (patch)
treeb4443de29e97364a8d8f97b7ea2f9dd672b176e7 /openbox
parent141c249b8cd3b94a722acc8c0225b3cbf83e5042 (diff)
include the header that has gethostname
Diffstat (limited to 'openbox')
-rw-r--r--openbox/client.c4
-rw-r--r--openbox/client.h2
2 files changed, 5 insertions, 1 deletions
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 <unistd.h>
+#endif
+
#include <glib.h>
#include <X11/Xutil.h>
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 */