diff --git a/libowlps/owlps.h b/libowlps/owlps.h index 4823f6a..4b706e2 100644 --- a/libowlps/owlps.h +++ b/libowlps/owlps.h @@ -5,6 +5,10 @@ #ifndef _LIBOWLPS_H_ #define _LIBOWLPS_H_ +#ifdef __cplusplus +extern "C" { +#endif // __cplusplus + #include #include @@ -266,4 +270,8 @@ void owl_sigterm_handler(int num) ; #define IS_RETRY(IEEE80211_FLAGS) ((IEEE80211_FLAGS) & 0x08) +#ifdef __cplusplus +} +#endif // __cplusplus + #endif // _LIBOWLPS_H_