nuttx-apps/canutils/candump
wenquan1 6e12c3de75 canutils/candump: guard SOF_TIMESTAMPING macros with ifndef
candump.c locally defines SOF_TIMESTAMPING_SOFTWARE,
SOF_TIMESTAMPING_RX_SOFTWARE and SOF_TIMESTAMPING_RAW_HARDWARE.
After nuttx added these macros to sys/socket.h, the build fails
with -Werror=redefine. Wrap the local defines with #ifndef guards
so they are only used when the system header does not provide them.

Signed-off-by: wenquan1 <wenquan1@xiaomi.com>
2026-09-18 21:09:13 +08:00
..
candump.c canutils/candump: guard SOF_TIMESTAMPING macros with ifndef 2026-09-18 21:09:13 +08:00
CMakeLists.txt canutils: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
Kconfig signals: fix build and runtime issues when signals all isabled 2026-01-19 22:55:19 +08:00
Make.defs canutils: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
Makefile canutils: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00