Fixed missing extern C
Fixed missing extern C
Merge pull request #2241 from akallabeth/extern_c_fix

Extern c fix
Merge branch 'master' into vdibox