diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-09-19 21:04:30 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-09-19 21:04:30 +0300 |
commit | 54fae3a9ca0af5ab29cc02d9c91fc2c63c6bc872 (patch) | |
tree | 300def013e8b61ee260bca3ca8f3ff96d59b7290 /libpkgconf/fragment.c | |
parent | df3f033ad8586bb28503d204eac4e02990f64a44 (diff) |
Merge with latest original package version (master branch)
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}, |