Browse code

presence_xml: define _DARWIN_C_SOURCE 1

- compile the module on darwin, workaround for strptime

Daniel-Constantin Mierla authored on 03/08/2009 13:54:54
Showing 1 changed files
... ...
@@ -41,6 +41,7 @@
41 41
 	#define _BSD_SOURCE 1				/* needed on linux to "fix" the effect
42 42
 										  of the above define on
43 43
 										  features.h/unistd.h syscall() */
44
+   #define _DARWIN_C_SOURCE 1
44 45
 #else
45 46
 	#define _XOPEN_SOURCE_EXTENDED 1   /* solaris */
46 47
 #endif