diff options
Diffstat (limited to 'libpkgconf/fragment.c')
-rw-r--r-- | libpkgconf/fragment.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libpkgconf/fragment.c b/libpkgconf/fragment.c index 9a4bc31..b405631 100644 --- a/libpkgconf/fragment.c +++ b/libpkgconf/fragment.c @@ -13,6 +13,7 @@ * from the use of this software. */ +#include <libpkgconf/stdinc.h> #include <libpkgconf/libpkgconf.h> /* @@ -34,7 +35,7 @@ struct pkgconf_fragment_check { static inline bool pkgconf_fragment_is_unmergeable(const char *string) { - static struct pkgconf_fragment_check check_fragments[] = { + static const struct pkgconf_fragment_check check_fragments[] = { {"-framework", 10}, {"-isystem", 8}, {"-idirafter", 10}, @@ -70,7 +71,7 @@ pkgconf_fragment_is_unmergeable(const char *string) static inline bool pkgconf_fragment_should_munge(const char *string, const char *sysroot_dir) { - static struct pkgconf_fragment_check check_fragments[] = { + static const struct pkgconf_fragment_check check_fragments[] = { {"-isystem", 8}, {"-idirafter", 10}, {"-include", 8}, |