Explorar o código

presence_xml: define _DARWIN_C_SOURCE 1

- compile the module on darwin, workaround for strptime
Daniel-Constantin Mierla %!s(int64=16) %!d(string=hai) anos
pai
achega
cabd988384
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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