mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-06 02:55:27 +00:00
21c145b108
usleep is deprecated and disabled in glibc 2.12 unless requested. Use nanosleep instead if available. This fixes the following compiler warning: ./src/zrtp_iface_scheduler.c: In function 'zrtp_sleep': ./src/zrtp_iface_scheduler.c:96:2: warning: implicit declaration of function 'usleep' [-Wimplicit-function-declaration] usleep(msec*1000); ^