diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2d6146b..1d410ef 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,6 +15,8 @@ test: docs: image: polinux/mkdocs timeout: 5 minutes + rules: + - if: $CI_COMMIT_BRANCH == 'master' script: - apk add openssh-client - mkdir -p ~/.ssh diff --git a/README.md b/README.md index 29dcfae..52ff5ca 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # libflint -My personal library of common C data structures and algorithms. Supports Linux, OpenBSD, and FreeBSD. +My personal library of common C data structures and algorithms. Supports Linux, macOS, OpenBSD, and FreeBSD. ## Documentation diff --git a/src/vector.c b/src/vector.c index 3df195f..52355fc 100644 --- a/src/vector.c +++ b/src/vector.c @@ -1,6 +1,10 @@ #include #include +#ifdef __linux__ +#include +#endif + #include "vector.h" #define VEC_INIT_CAP 2