head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.2 pkgsrc-2026Q1-base:1.1; locks; strict; comment @// @; 1.1 date 2026.02.22.22.23.16; author bouyer; state Exp; branches; next ; commitid zmyUFt5svOl4iqvG; desc @@ 1.1 log @Don't include both and on NetBSD, fix build on NetBSD 11 @ text @$NetBSD: $ Avoid conflicting definitions between elf.h and libelf.h --- src/pluginmanager.cpp.orig 2026-02-22 15:39:46.203344963 +0100 +++ src/pluginmanager.cpp 2026-02-22 15:40:14.895800822 +0100 @@@@ -44,7 +44,9 @@@@ #include #ifdef USE_LIBELF +#ifndef __NetBSD__ #include +#endif #include #include #endif @