* DEALINGS IN THE SOFTWARE.
*/
+#include "config.h"
+
#include <time.h>
#include "xkbcommon/xkbcommon-compose.h"
ctx = test_get_context(CONTEXT_NO_FLAG);
assert(ctx);
- path = test_get_path("compose/en_US.UTF-8/Compose");
- file = fopen(path, "r");
+ path = test_get_path("locale/en_US.UTF-8/Compose");
+ file = fopen(path, "rb");
if (file == NULL) {
perror(path);
free(path);