summaryrefslogtreecommitdiffstats
path: root/tdeui/kcolordialog.cpp
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2020-09-24 15:26:15 +0200
committergregory guy <[email protected]>2020-09-27 17:23:19 +0200
commit2706c5674eb1ea3fffdca4d8c3edb3b25335e731 (patch)
tree7e79f33111e3198bb73c2635be1140597d286802 /tdeui/kcolordialog.cpp
parentc07a6bab9d188f08c89696a415983f430412b21d (diff)
downloadtdelibs-2706c5674eb1ea3fffdca4d8c3edb3b25335e731.tar.gz
tdelibs-2706c5674eb1ea3fffdca4d8c3edb3b25335e731.zip
Add definitions for X11_RGBFILE and XMLLINT in config.h
Signed-off-by: gregory guy <[email protected]>
Diffstat (limited to 'tdeui/kcolordialog.cpp')
-rw-r--r--tdeui/kcolordialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeui/kcolordialog.cpp b/tdeui/kcolordialog.cpp
index 458fb50a8..b37bcf42c 100644
--- a/tdeui/kcolordialog.cpp
+++ b/tdeui/kcolordialog.cpp
@@ -64,7 +64,10 @@
#include <config.h>
#include <kdebug.h>
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
+
#ifdef Q_WS_X11
#include <X11/Xlib.h>
@@ -626,9 +629,6 @@ static const char * const *namedColorFilePath( void )
#ifdef X11_RGBFILE
X11_RGBFILE,
#endif
- "/usr/share/X11/rgb.txt",
- "/usr/X11R6/lib/X11/rgb.txt",
- "/usr/openwin/lib/X11/rgb.txt", // for Solaris.
0
};
return path;