mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-02 19:58:09 +00:00
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> |
||
|---|---|---|
| .. | ||
| candump.c | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| Makefile | ||