From 07a2a091eb0c5173904e53d049232fa27648ba64 Mon Sep 17 00:00:00 2001 From: Aditya <75035219+pegvin@users.noreply.github.com> Date: Sun, 25 Feb 2024 00:41:41 +0530 Subject: [PATCH] Try To Fix CI Error --- .github/workflows/ci.yml | 10 +++++----- src/xwrap.h | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 53628c1..67354de 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v4 - name: Build - run: make all BUILD_TYPE=Release + run: make all -j4 BUILD_TYPE=Release - name: Upload Artifacts uses: actions/upload-artifact@v2 @@ -26,7 +26,7 @@ jobs: - uses: actions/checkout@v4 - name: Build - run: make all BUILD_TYPE=Release + run: make all -j4 BUILD_TYPE=Release - name: Upload Artifacts uses: actions/upload-artifact@v2 @@ -48,7 +48,7 @@ jobs: /usr/sbin/pkg_add gmake run: | - gmake all BUILD_TYPE=Release CC=gcc + gmake all -j4 BUILD_TYPE=Release CC=gcc - name: Upload Artifacts uses: actions/upload-artifact@v2 @@ -70,7 +70,7 @@ jobs: pkg install -y gmake run: | - gmake all BUILD_TYPE=Release CC=clang + gmake all -j4 BUILD_TYPE=Release CC=clang - name: Upload Artifacts uses: actions/upload-artifact@v2 @@ -94,7 +94,7 @@ jobs: pkg_add gmake run: | - gmake all BUILD_TYPE=Release CC=clang + gmake all -j4 BUILD_TYPE=Release CC=clang - name: Upload Artifacts uses: actions/upload-artifact@v2 diff --git a/src/xwrap.h b/src/xwrap.h index a5739ac..f0c81de 100644 --- a/src/xwrap.h +++ b/src/xwrap.h @@ -3,6 +3,7 @@ #define _XOPEN_SOURCE 600 // For Structs Like "sigaction" #define _BSD_SOURCE 1 +#define __BSD_VISIBLE 1 #define _POSIX_C_SOURCE 200809L // Maybe Needed on Mac for `SIGWINCH`