Linux fix
This commit is contained in:
parent
e4f5e9b32a
commit
d89e91d97e
|
@ -15,6 +15,8 @@ test:
|
||||||
docs:
|
docs:
|
||||||
image: polinux/mkdocs
|
image: polinux/mkdocs
|
||||||
timeout: 5 minutes
|
timeout: 5 minutes
|
||||||
|
rules:
|
||||||
|
- if: $CI_COMMIT_BRANCH == 'master'
|
||||||
script:
|
script:
|
||||||
- apk add openssh-client
|
- apk add openssh-client
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# libflint
|
# 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
|
## Documentation
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
#ifdef __linux__
|
||||||
|
#include <bsd/stdlib.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "vector.h"
|
#include "vector.h"
|
||||||
|
|
||||||
#define VEC_INIT_CAP 2
|
#define VEC_INIT_CAP 2
|
||||||
|
|
Loading…
Reference in New Issue