diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2c9434a..3b4de03 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,9 +29,9 @@ jobs: echo "Homebrew not found" exit 1 fi - - name: + - name: update brew run: brew update - - name: + - name: install libs run: brew install pcre2 cmocka - name: build run: | diff --git a/mh.c b/mh.c index 78e15e7..ad65dff 100644 --- a/mh.c +++ b/mh.c @@ -26,7 +26,6 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #define _POSIX_C_SOURCE 200809L -#define _DEFAULT_SOURCE #define PCRE2_CODE_UNIT_WIDTH 8 #include #ifdef __APPLE__