From: Frank Lichtenheld Date: Wed, 5 Jun 2024 11:10:12 +0000 (+0200) Subject: test_user_pass: Fix building with --enable-systemd X-Git-Tag: v2.7_alpha1~250 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7dfff75659e6c06abe500f5b8716d9712aa41bcc;p=thirdparty%2Fopenvpn.git test_user_pass: Fix building with --enable-systemd Need to make sure that ENABLE_SYSTEMD is really disabled. Change-Id: Ic33c210f06e173a450534aa0969c57f140086655 Signed-off-by: Frank Lichtenheld Acked-by: Gert Doering Message-Id: <20240605111012.3023-1-gert@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg28708.html Signed-off-by: Gert Doering --- diff --git a/tests/unit_tests/openvpn/test_user_pass.c b/tests/unit_tests/openvpn/test_user_pass.c index ac846546a..b43e65571 100644 --- a/tests/unit_tests/openvpn/test_user_pass.c +++ b/tests/unit_tests/openvpn/test_user_pass.c @@ -27,6 +27,8 @@ #endif #undef ENABLE_SYSTEMD +/* avoid redefining ENABLE_SYSTEMD in misc.c */ +#undef HAVE_CONFIG_H #include "syshead.h" #include "manage.h"