Skip to content

Commit

Permalink
test_user_pass: Fix building with --enable-systemd
Browse files Browse the repository at this point in the history
Need to make sure that ENABLE_SYSTEMD is really disabled.

Change-Id: Ic33c210f06e173a450534aa0969c57f140086655
Signed-off-by: Frank Lichtenheld <[email protected]>
Acked-by: Gert Doering <[email protected]>
Message-Id: <[email protected]>
URL: https://www.mail-archive.com/[email protected]/msg28708.html
Signed-off-by: Gert Doering <[email protected]>
  • Loading branch information
flichtenheld authored and cron2 committed Jun 5, 2024
1 parent d601237 commit 7dfff75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unit_tests/openvpn/test_user_pass.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7dfff75

Please sign in to comment.