A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
public headers should include simgrid in a system-wide way, not a project-wide one
[simgrid.git]
/
examples
/
smpi
/
smpi_msg_masterslave
/
masterslave_mailbox_smpi.c
diff --git
a/examples/smpi/smpi_msg_masterslave/masterslave_mailbox_smpi.c
b/examples/smpi/smpi_msg_masterslave/masterslave_mailbox_smpi.c
index
2ea6b1b
..
b3ccbfb
100644
(file)
--- a/
examples/smpi/smpi_msg_masterslave/masterslave_mailbox_smpi.c
+++ b/
examples/smpi/smpi_msg_masterslave/masterslave_mailbox_smpi.c
@@
-1,10
+1,13
@@
-/* Copyright (c) 2010-201
7
. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2010-201
8
. 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"
#include "mpi.h"
/* 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"
#include "mpi.h"
+
+#include <stdio.h> /* snprintf */
+
XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test, "Messages specific for this msg example");
static int master(int argc, char *argv[])
XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test, "Messages specific for this msg example");
static int master(int argc, char *argv[])