aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config.in2
-rw-r--r--src/xrdb.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/config.in b/src/config.in
index 6ebcde54c24..174f6bac195 100644
--- a/src/config.in
+++ b/src/config.in
@@ -111,6 +111,8 @@ and this notice must be preserved on all copies. */
111 111
112#undef HAVE_LIBXBSD 112#undef HAVE_LIBXBSD
113#undef HAVE_XRMSETDATABASE 113#undef HAVE_XRMSETDATABASE
114#undef HAVE_XSCREENRESOURCESTRING
115
114#undef HAVE_RANDOM 116#undef HAVE_RANDOM
115 117
116#undef HAVE_BCOPY 118#undef HAVE_BCOPY
diff --git a/src/xrdb.c b/src/xrdb.c
index 7bced538a8b..ea0cbc89b31 100644
--- a/src/xrdb.c
+++ b/src/xrdb.c
@@ -459,8 +459,7 @@ get_user_db (display)
459 free (xdefault); 459 free (xdefault);
460 } 460 }
461 461
462#ifdef XlibSpecificationRelease 462#ifdef HAVE_XSCREENRESOURCESTRING
463#if XlibSpecificationRelease >= 5
464 /* Get the screen-specific resources too. */ 463 /* Get the screen-specific resources too. */
465 xdefs = XScreenResourceString (DefaultScreenOfDisplay (display)); 464 xdefs = XScreenResourceString (DefaultScreenOfDisplay (display));
466 if (xdefs != NULL) 465 if (xdefs != NULL)
@@ -469,7 +468,6 @@ get_user_db (display)
469 XFree (xdefs); 468 XFree (xdefs);
470 } 469 }
471#endif 470#endif
472#endif
473 471
474 return db; 472 return db;
475} 473}