diff --git a/src/xterm_title.c b/src/xterm_title.c
index 248cfa8c5d6a0f7291309e854eedd7c5dd936b29..cc4754a3383505f72d0b5b73cbf85be29acc8ab8 100644 (file)
--- a/src/xterm_title.c
+++ b/src/xterm_title.c
#include "options.h"
#include <stdio.h>
+#include <stdlib.h>
void
set_xterm_title(const char *title)
if (!options.enable_xterm_title)
return;
- if (g_getenv("WINDOWID") == NULL) {
+ if (getenv("WINDOWID") == NULL) {
options.enable_xterm_title = FALSE;
return;
}