Include clocale instead of locale.h
#include <vespa/vespalib/util/exceptions.h>
#include <vespa/defaults.h>
#include <chrono>
+#include <clocale>
#include <string>
-#include <locale.h>
#include <unistd.h>
#include <sys/time.h>
