Module: sip-router
Branch: master
Commit: cabd988384344a485377b817da4dc49ab0151a91
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=cabd988…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Aug 3 15:54:54 2009 +0200
presence_xml: define _DARWIN_C_SOURCE 1
- compile the module on darwin, workaround for strptime
---
modules_k/presence_xml/pidf.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules_k/presence_xml/pidf.c b/modules_k/presence_xml/pidf.c
index 36eb2a5..95b0a47 100644
--- a/modules_k/presence_xml/pidf.c
+++ b/modules_k/presence_xml/pidf.c
@@ -41,6 +41,7 @@
#define _BSD_SOURCE 1 /* needed on linux to "fix" the effect
of the above define on
features.h/unistd.h syscall() */
+ #define _DARWIN_C_SOURCE 1
#else
#define _XOPEN_SOURCE_EXTENDED 1 /* solaris */
#endif