File xopen-source.patch of Package openobex

Index: openobex-1.7.1-Source/apps/obex_tcp.c
===================================================================
--- openobex-1.7.1-Source.orig/apps/obex_tcp.c
+++ openobex-1.7.1-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
 
 #ifdef _WIN32
 #include <winsock2.h>
openSUSE Build Service is sponsored by