Module: kamailio Branch: master Commit: 9f1aa931dafc0d654af4d51b5e4ab6a72a71fb0c URL: https://github.com/kamailio/kamailio/commit/9f1aa931dafc0d654af4d51b5e4ab6a7...
Author: Victor Seva linuxmaniac@torreviejawireless.org Committer: Victor Seva linuxmaniac@torreviejawireless.org Date: 2016-05-17T13:23:11+02:00
presence_xml: fix compiler warning #612
---
Modified: modules/presence_xml/pidf.c
---
Diff: https://github.com/kamailio/kamailio/commit/9f1aa931dafc0d654af4d51b5e4ab6a7... Patch: https://github.com/kamailio/kamailio/commit/9f1aa931dafc0d654af4d51b5e4ab6a7...
---
diff --git a/modules/presence_xml/pidf.c b/modules/presence_xml/pidf.c index fca87b3..7644f89 100644 --- a/modules/presence_xml/pidf.c +++ b/modules/presence_xml/pidf.c @@ -42,6 +42,7 @@ #define _BSD_SOURCE 1 /* needed on linux to "fix" the effect of the above define on features.h/unistd.h syscall() */ + #define _DEFAULT_SOURCE 1 /* _BSD_SOURCE is deprecated */ #define _DARWIN_C_SOURCE 1 #else #define _XOPEN_SOURCE_EXTENDED 1 /* solaris */