Skip to content

Commit 4dd1886

Browse files
jktjktclaude
andcommitted
Fix compatibility with libyang 6.3.0+
Since upstream commit CESNET/libyang@b6ccfc9, `libyang.h` no longer pulls in `plugins.h`, and therefore `lyplg_add_extension_plugin` was not declared properly. Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 49a1e9a commit 4dd1886

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cffi/source.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*/
55

66
#include <libyang/libyang.h>
7+
#include <libyang/plugins.h>
78
#include <libyang/version.h>
89

910
#if LY_VERSION_MAJOR * 10000 + LY_VERSION_MINOR * 100 + LY_VERSION_MICRO < 50000

0 commit comments

Comments
 (0)