diff --git a/.github/workflows/musl.yml b/.github/workflows/musl.yml new file mode 100644 index 00000000..240b6a25 --- /dev/null +++ b/.github/workflows/musl.yml @@ -0,0 +1,23 @@ +name: alpine/musl + +on: [push, pull_request] + +permissions: + contents: read + +jobs: + musl: + name: gcc + runs-on: ubuntu-latest + container: + image: alpine:latest + steps: + - uses: actions/checkout@v1 + with: + submodules: true + - name: Install dependencies + run: apk add binutils --no-cache build-base readline-dev openssl-dev ncurses-dev git cmake zlib-dev libsodium-dev gnu-libiconv + - name: Configure + run: ./configure + - name: make + run: make -C build \ No newline at end of file diff --git a/src/Cedar/BridgeUnix.c b/src/Cedar/BridgeUnix.c index 87287d7c..88244b7d 100644 --- a/src/Cedar/BridgeUnix.c +++ b/src/Cedar/BridgeUnix.c @@ -49,7 +49,7 @@ #endif #ifdef UNIX_LINUX -#include +#include struct my_tpacket_auxdata { diff --git a/src/Mayaqua/Network.h b/src/Mayaqua/Network.h index 5e3d4b76..7075d4b0 100644 --- a/src/Mayaqua/Network.h +++ b/src/Mayaqua/Network.h @@ -14,11 +14,16 @@ #ifdef OS_UNIX #include +#ifdef UNIX_LINUX +#include +#endif + #ifdef UNIX_OPENBSD #include #endif #endif + // Dynamic Value struct DYN_VALUE {