[lib] Allow linking to C++ code

This commit is contained in:
Matteo Cypriani 2011-03-17 13:39:36 +01:00
parent 3c29379821
commit f832335f12
1 changed files with 8 additions and 0 deletions

View File

@ -5,6 +5,10 @@
#ifndef _LIBOWLPS_H_
#define _LIBOWLPS_H_
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
#include <stdio.h>
#include <unistd.h>
@ -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_