diff --git a/src/schema.cpp b/src/schema.cpp index 015911d8baff2d2df2382eacbef733394d70b392..d52bb00ec3963e228de78b505a32a6637857307a 100644 --- a/src/schema.cpp +++ b/src/schema.cpp @@ -1,3 +1,5 @@ +extern "C" +{ #include <libubox/avl.h> #include <libubox/avl-cmp.h> #include <libubox/blobmsg.h> @@ -8,7 +10,7 @@ #include <stdio.h> #include <stdlib.h> #include <regex.h> - +} #include "schema.h" #define JSON_SCHEMA_DIR "/usr/share/rpcd/schemas"