Fix sanitizer builds with clang (#1402)
By including <stdatomic.h> after the other includes in the unit test, we can avoid redefining a macro which led to a build failure. Fixes #1394 --------- Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
This commit is contained in:
parent
a2fe6af457
commit
f20d629dbe
@ -1,9 +1,9 @@
|
||||
#include <stdatomic.h>
|
||||
|
||||
#include "../networking.c"
|
||||
#include "../server.c"
|
||||
#include "test_help.h"
|
||||
|
||||
#include <stdatomic.h>
|
||||
|
||||
int test_backupAndUpdateClientArgv(int argc, char **argv, int flags) {
|
||||
UNUSED(argc);
|
||||
UNUSED(argv);
|
||||
|
Loading…
x
Reference in New Issue
Block a user