We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fcd407 commit 83c3e23Copy full SHA for 83c3e23
src/builder-manifest.c
@@ -30,9 +30,25 @@
30
#include <sys/statfs.h>
31
#include <glib/gi18n.h>
32
33
+/* Remove for newer appstream */
34
+#if defined(__clang__)
35
+#pragma clang diagnostic push
36
+#pragma clang diagnostic ignored "-Wstrict-prototypes"
37
+#elif defined(__GNUC__)
38
+#pragma GCC diagnostic push
39
+#pragma GCC diagnostic ignored "-Wstrict-prototypes"
40
+#endif
41
+
42
#define I_KNOW_THE_APPSTREAM_COMPOSE_API_IS_SUBJECT_TO_CHANGE
43
+#include <appstream.h>
44
#include <appstream-compose.h>
45
46
47
+#pragma clang diagnostic pop
48
49
+#pragma GCC diagnostic pop
50
51
52
#include "builder-manifest.h"
53
#include "builder-utils.h"
54
#include "builder-flatpak-utils.h"
0 commit comments