From f33117385801ba851f81b3b5b31162934401163a Mon Sep 17 00:00:00 2001 From: rnv Date: Tue, 22 Nov 2011 10:00:51 +0000 Subject: [PATCH] Fix compilation warnings. --- src/Container/Container_i.cxx | 4 ++++ src/Container/Container_init_python.hxx | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/Container/Container_i.cxx b/src/Container/Container_i.cxx index 8f94a7a98..30a91f44d 100644 --- a/src/Container/Container_i.cxx +++ b/src/Container/Container_i.cxx @@ -56,6 +56,10 @@ int SIGUSR1 = 1000; #include "SALOME_NamingService.hxx" #include "Basics_Utils.hxx" +#ifdef _XOPEN_SOURCE +#undef _XOPEN_SOURCE +#endif + #include #include "Container_init_python.hxx" diff --git a/src/Container/Container_init_python.hxx b/src/Container/Container_init_python.hxx index 783a7fcf9..4dc515f56 100644 --- a/src/Container/Container_init_python.hxx +++ b/src/Container/Container_init_python.hxx @@ -33,6 +33,10 @@ #include #include // must be before Python.h ! + +#ifdef _XOPEN_SOURCE +#undef _XOPEN_SOURCE +#endif #include -- 2.39.2