Index: /trunk/psLib/swig/Makefile.PL
===================================================================
--- /trunk/psLib/swig/Makefile.PL	(revision 3873)
+++ /trunk/psLib/swig/Makefile.PL	(revision 3874)
@@ -31,5 +31,5 @@
 	'LIBS' => ["$opts{ldflags}"],  # Name of custom libraries
 	'OBJECT' => 'pslib_wrap.o',    # Name of object
-	'OPTIMIZE' => "$opts{cflags} -w", # cflags with disabling of warnings (SWIG generated code generates warnings)
+	'OPTIMIZE' => "$opts{cflags} -w -D_XOPEN_SOURCE=500", # cflags with disabling of warnings (SWIG generated code generates warnings)
 	'LD' => $opts{ld}
 );
