summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */