/* 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 <stdlib.h>
-#include <errno.h>
-#include <error.h>
+#include <cstdlib>
+#include <cerrno>
#include <sys/types.h>
#include <sys/socket.h>
// We won't need those once the separation MCer/MCed is complete:
#include "mc_mmalloc.h"
#include "mc_ignore.h"
-#include "mc_model_checker.h"
#include "mc_private.h" // MC_deadlock_check()
#include "mc_smx.h"
return;
}
- char* fd_env = getenv(MC_ENV_SOCKET_FD);
+ char* fd_env = std::getenv(MC_ENV_SOCKET_FD);
if (!fd_env)
xbt_die("MC socket not found");