/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-#include <locale.h>
+#include <clocale>
#include "simgrid/msg.h"
#include "simgrid/plugins/energy.h"