diff --git a/src/platformdep/windowtitle.c b/src/platformdep/windowtitle.c index 3a70222..79ac72f 100644 --- a/src/platformdep/windowtitle.c +++ b/src/platformdep/windowtitle.c @@ -1,4 +1,4 @@ -#ifdef HAVEX11 // for window title +#ifdef HAVE_X11 // for window title #include #include #endif @@ -9,7 +9,7 @@ #include s8 get_windowname(void) { -#ifdef HAVEX11 +#ifdef HAVE_X11 Display *dpy = XOpenDisplay(NULL); if (!dpy) { dbg("Can't open X display for retrieving the window title. Are you "