mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-04 18:27:36 +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); ^
# # libZRTP SDK library, implements the ZRTP secure VoIP protocol. # Copyright (c) 2006-2009 Philip R. Zimmermann. All rights reserved. # Contact: http://philzimmermann.com # For licensing and other legal details, see the file zrtp_legal.c. # - Check HTML Documentation ./doc - Visit the Zfone Project Home Page http://zfoneproject.com/ - Report bugs via the Zfone Bugs Page http://zfoneproject.com/bugs.html