aboutsummaryrefslogtreecommitdiffstats
path: root/include/afb/c++/binding-object.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/afb/c++/binding-object.hpp')
-rw-r--r--include/afb/c++/binding-object.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/afb/c++/binding-object.hpp b/include/afb/c++/binding-object.hpp
index f9c3bcab..b85331cd 100644
--- a/include/afb/c++/binding-object.hpp
+++ b/include/afb/c++/binding-object.hpp
@@ -17,7 +17,9 @@
* limitations under the License.
*/
-#include "../afb-binding.h"
+extern "C" {
+#include <afb/afb-binding.h>
+}
#include <cassert>
#include <string>