From 9e7a240dfd75368e1a79c6adb873a2c686639adb Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Mon, 23 Apr 2007 19:02:33 +0000 Subject: [PATCH] include the header that has gethostname --- openbox/client.c | 4 ++++ openbox/client.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 */ -- 2.39.2