[lib] Allow linking to C++ code
This commit is contained in:
parent
3c29379821
commit
f832335f12
|
@ -5,6 +5,10 @@
|
||||||
#ifndef _LIBOWLPS_H_
|
#ifndef _LIBOWLPS_H_
|
||||||
#define _LIBOWLPS_H_
|
#define _LIBOWLPS_H_
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif // __cplusplus
|
||||||
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
@ -266,4 +270,8 @@ void owl_sigterm_handler(int num) ;
|
||||||
#define IS_RETRY(IEEE80211_FLAGS) ((IEEE80211_FLAGS) & 0x08)
|
#define IS_RETRY(IEEE80211_FLAGS) ((IEEE80211_FLAGS) & 0x08)
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif // __cplusplus
|
||||||
|
|
||||||
#endif // _LIBOWLPS_H_
|
#endif // _LIBOWLPS_H_
|
||||||
|
|
Loading…
Reference in New Issue