diff --git a/include/nfc/nfc-emulation.h b/include/nfc/nfc-emulation.h index e0586e2..ab92d6c 100644 --- a/include/nfc/nfc-emulation.h +++ b/include/nfc/nfc-emulation.h @@ -23,6 +23,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + struct nfc_emulator; struct nfc_emulation_state_machine; @@ -40,4 +44,9 @@ struct nfc_emulation_state_machine { NFC_EXPORT int nfc_emulate_target (nfc_device_t* pnd, struct nfc_emulator *emulator); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + + #endif /* __NFC_EMULATION_H__ */