Skip to content
Snippets Groups Projects
Commit 9e0f84f2 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

include all pj headers in extern "C"

Change-Id: I704857602be0c65751721331707b1a9928f4785b
parent 0627100c
No related branches found
No related tags found
No related merge requests found
...@@ -20,14 +20,16 @@ ...@@ -20,14 +20,16 @@
#include "ice_transport.h" #include "ice_transport.h"
#include "ip_utils.h" #include "ip_utils.h"
#include <pjnath.h>
#include <pjlib.h>
#include <pjlib-util.h>
#include <functional> #include <functional>
#include <memory> #include <memory>
#include <vector> #include <vector>
extern "C" {
#include <pjnath.h>
#include <pjlib.h>
#include <pjlib-util.h>
}
namespace dhtnet { namespace dhtnet {
class IceTransportFactory class IceTransportFactory
......
...@@ -71,8 +71,10 @@ ...@@ -71,8 +71,10 @@
#include <cstddef> #include <cstddef>
#include <ciso646> #include <ciso646>
extern "C" {
#include <pj/ctype.h> #include <pj/ctype.h>
#include <pjlib-util/md5.h> #include <pjlib-util/md5.h>
}
#include <filesystem> #include <filesystem>
......
...@@ -26,7 +26,9 @@ ...@@ -26,7 +26,9 @@
#include <opendht/logger.h> #include <opendht/logger.h>
#include <opendht/utils.h> #include <opendht/utils.h>
extern "C" {
#include <pjlib.h> #include <pjlib.h>
}
#include <map> #include <map>
#include <atomic> #include <atomic>
......
...@@ -24,7 +24,9 @@ ...@@ -24,7 +24,9 @@
#include <cstring> // strcmp #include <cstring> // strcmp
#include <memory> #include <memory>
extern "C" {
#include <pjlib.h> #include <pjlib.h>
}
namespace dhtnet { namespace dhtnet {
namespace sip_utils { namespace sip_utils {
......
...@@ -23,9 +23,11 @@ ...@@ -23,9 +23,11 @@
#include <functional> #include <functional>
#include <stdexcept> #include <stdexcept>
extern "C" {
#include <pjnath.h> #include <pjnath.h>
#include <pjlib-util.h> #include <pjlib-util.h>
#include <pjlib.h> #include <pjlib.h>
}
#define TRY(ret) \ #define TRY(ret) \
do { \ do { \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment