File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -823,7 +823,7 @@ endif()
823823if (UNIX )
824824 set (THREADS_PREFER_PTHREAD_FLAG ON )
825825 find_package (Threads REQUIRED)
826- target_link_libraries (modular-psu-firmware Threads::Threads)
826+ target_link_libraries (modular-psu-firmware Threads::Threads bsd)
827827endif (UNIX )
828828
829829target_link_libraries (modular-psu-firmware ${SDL2_LIBRARIES} ${SDL2_IMAGE_LIBRARIES} )
Original file line number Diff line number Diff line change 1717 */
1818
1919#include < stdio.h>
20+ #ifdef EEZ_PLATFORM_SIMULATOR_UNIX
21+ #include < bsd/string.h>
22+ #endif
2023
2124#include < eez/sound.h>
2225#include < eez/system.h>
@@ -226,4 +229,4 @@ void OutputBufferWriter::flush() {
226229
227230} // namespace scpi
228231} // namespace psu
229- } // namespace eez
232+ } // namespace eez
You can’t perform that action at this time.
0 commit comments