File xopen-source.patch of Package openobex

Index: openobex-1.7.2-Source/apps/obex_tcp.c
===================================================================
--- openobex-1.7.2-Source.orig/apps/obex_tcp.c
+++ openobex-1.7.2-Source/apps/obex_tcp.c
@@ -22,7 +22,7 @@
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
-#define _XOPEN_SOURCE 520
+#define _XOPEN_SOURCE 600
 #define _POSIX_C_SOURCE 201112L // for getaddrinfo()
 
 #ifdef _WIN32
openSUSE Build Service is sponsored by