Merge branch 'linux_fix' into 'master'

Linux fix

See merge request fputs/libflint!1
This commit is contained in:
Evan Burkey 2023-10-25 16:02:56 +00:00
commit 9d67b223a9
3 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -1,6 +1,10 @@
#include <stdlib.h>
#include <stdio.h>
#ifdef __linux__
#include <bsd/stdlib.h>
#endif
#include "vector.h"
#define VEC_INIT_CAP 2