include the header that has gethostname
Mikael Magnusson mikachu@comhem.se
2 files changed,
5 insertions(+),
1 deletions(-)
M
openbox/client.c
→
openbox/client.c
@@ -41,6 +41,10 @@ #include "keyboard.h"
#include "mouse.h" #include "render/render.h" +#ifdef HAVE_UNISTD_H +# include <unistd.h> +#endif + #include <glib.h> #include <X11/Xutil.h>
M
openbox/client.h
→
openbox/client.h
@@ -116,7 +116,7 @@ /*! Normal window title */
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 */