mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-31 02:09:22 +00:00
Fix build on Linux.
This commit is contained in:
parent
b2d2d6ec2f
commit
fd159f62cd
1 changed files with 2 additions and 3 deletions
|
|
@ -16,9 +16,8 @@
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __USE_XOPEN
|
||||
/*on Debian OS, time.h does declare strptime only if __USE_XOPEN is declared */
|
||||
#define __USE_XOPEN
|
||||
#ifndef _XOPEN_SOURCE
|
||||
#define _XOPEN_SOURCE 700 // To have definition of strptime, snprintf and getline
|
||||
#endif
|
||||
#include <time.h>
|
||||
#include "linphonecore.h"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue