Contiki-NG: Fix two compilation errors on macOS

One compilation error was a redefinition of ntohs in coap_config.h.contiki.
Another compilation error was due to an unused function in coap_time.c.
This commit is contained in:
kkrentz authored and Jon Shallow committed 2023-10-04 22:01:41 +01:00
1 parent ae2cc9ffef
commit 836ceec436
4 files changed
+25 -5

No files matched your search

+17
View File
@@ -112,6 +112,23 @@ jobs:
run: |
cd build_test
cmake --build .
contiki-build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: install macOS software
run: |
brew install make automake
- name: setup
run: |
./autogen.sh
- name: configure
run: |
./configure --disable-doxygen --disable-manpages --disable-dtls --without-epoll --disable-examples --disable-examples-source --disable-tcp --disable-oscore --disable-q-block
- name: compile
run: |
gmake -C examples/contiki
other-build:
runs-on: ubuntu-latest
strategy: