*** ./src/bwping.c.ORIG Mon Jul 15 19:27:51 2019 --- ./src/bwping.c Mon Jul 15 19:28:09 2019 *************** *** 229,234 **** --- 229,238 ---- (*transmitted_volume) += pkt_size; } + #ifndef MSG_DONTWAIT + #define MSG_DONTWAIT MSG_NONBLOCK + #endif + static bool recv_ping4(int sock, uint16_t ident, uint32_t *received_number, uint64_t *received_volume) { size_t hdr_len;