diff options
author | Thomas Haller <thaller@redhat.com> | 2019-04-14 17:15:33 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-04-14 17:17:52 +0200 |
commit | 68a3bc95232b087e7c32506a113ca56bbe6bda16 (patch) | |
tree | 9f6f673fbdf917977e00959b7f883fae954addda | |
parent | 8d911088abc7ce3f3227b28aac0fa98b83549c8f (diff) | |
download | NetworkManager-68a3bc95232b087e7c32506a113ca56bbe6bda16.tar.gz |
shared: patch c-stdaux.h to not include <stdatomic.h>
c-stdaux is C11 and so is NetworkManager too.
But we build on Ubunut 14.04, where we have not all C11 parts
in place.
Since the header is not actually used (at the moment), patch out
the include.
-rw-r--r-- | shared/c-stdaux/src/c-stdaux.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/c-stdaux/src/c-stdaux.h b/shared/c-stdaux/src/c-stdaux.h index a02aed9c08..08d155cebc 100644 --- a/shared/c-stdaux/src/c-stdaux.h +++ b/shared/c-stdaux/src/c-stdaux.h @@ -36,7 +36,9 @@ extern "C" { #include <limits.h> #include <stdalign.h> #include <stdarg.h> +#if 0 /* NM_IGNORED */ #include <stdatomic.h> +#endif /* NM_IGNORED */ #include <stdbool.h> #include <stddef.h> #include <stdio.h> |