Browse Source

presence_xml: define _DARWIN_C_SOURCE 1

- compile the module on darwin, workaround for strptime
Daniel-Constantin Mierla 16 years ago
parent
commit
cabd988384
1 changed files with 1 additions and 0 deletions
  1. 1 0
      modules_k/presence_xml/pidf.c

+ 1 - 0
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