[daemon-fix] fixed querying about name information
[platform/upstream/dbus.git] / dbus / dbus-test-main.c
index b04bebc..f6ef782 100644 (file)
@@ -38,7 +38,7 @@ main (int    argc,
   const char *test_data_dir;
   const char *specific_test;
 
-#if HAVE_LOCALE_H
+#if HAVE_SETLOCALE
   setlocale(LC_ALL, "");
 #endif