aboutsummaryrefslogtreecommitdiff
path: root/include/PkgConfig.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/PkgConfig.hpp')
-rw-r--r--include/PkgConfig.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/PkgConfig.hpp b/include/PkgConfig.hpp
index 2af4ac9..da78b91 100644
--- a/include/PkgConfig.hpp
+++ b/include/PkgConfig.hpp
@@ -1,6 +1,8 @@
#ifndef SIBS_PKGCONFIG_HPP
#define SIBS_PKGCONFIG_HPP
+#include "env.hpp"
+#if OS_FAMILY == OS_FAMILY_POSIX
#include "Result.hpp"
#include "Dependency.hpp"
#include <string>
@@ -16,5 +18,6 @@ namespace sibs
static Result<std::string> getDynamicLibsLinkerFlags(const std::vector<Dependency> &libs);
};
}
+#endif // OS_FAMILY_POSIX
-#endif //SIBS_PKGCONFIG_HPP
+#endif // SIBS_PKGCONFIG_HPP