Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[TESTS] Included tags in tests and traces
[simgrid.git] / examples / msg / app-masterworker / app-masterworker.c
index 84a85a2..55aaf69 100644 (file)
@@ -1,12 +1,13 @@
-/* Copyright (c) 2010-2016. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2010-2018. The SimGrid Team. All rights reserved.          */
 
 /* 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 "simgrid/msg.h"
 
-XBT_LOG_NEW_DEFAULT_CATEGORY(msg_app_masterworker, "Messages specific for this msg example");
+#include <stdio.h> /* snprintf */
 
+XBT_LOG_NEW_DEFAULT_CATEGORY(msg_app_masterworker, "Messages specific for this msg example");
 
 /* Main function of the master process */
 static int master(int argc, char *argv[])