diff --git a/libfprint/fprint.h b/libfprint/fprint.h index 319b600..99fa1e1 100644 --- a/libfprint/fprint.h +++ b/libfprint/fprint.h @@ -20,6 +20,10 @@ #ifndef __FPRINT_H__ #define __FPRINT_H__ +#ifdef __cplusplus +extern "C" { +#endif + #include #include @@ -336,5 +340,9 @@ typedef void (*fp_identify_stop_cb)(struct fp_dev *dev, void *user_data); int fp_async_identify_stop(struct fp_dev *dev, fp_identify_stop_cb callback, void *user_data); +#ifdef __cplusplus +} +#endif + #endif