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
Protect every lua header with extern 'C'
[simgrid.git]
/
src
/
bindings
/
lua
/
lua_platf.cpp
diff --git
a/src/bindings/lua/lua_platf.cpp
b/src/bindings/lua/lua_platf.cpp
index
4f7507b
..
f5037bf
100644
(file)
--- a/
src/bindings/lua/lua_platf.cpp
+++ b/
src/bindings/lua/lua_platf.cpp
@@
-12,7
+12,10
@@
#include "surf/surf_routing.h"
#include <string.h>
#include <ctype.h>
+
+extern "C" {
#include <lauxlib.h>
+}
#include <simgrid/host.h>
#include "src/surf/surf_private.h"