From 20a474fad1c36437bfd8d14694f53376ece2692c Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 15 Oct 2008 09:56:18 +0000 Subject: [PATCH] Issue 0019981: integrate patch for compilation with cmake (from E.Adam) --- src/NOTIFICATION_SWIG/Makefile.am | 2 +- src/ResourcesManager/ResourcesManager.cxx | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/NOTIFICATION_SWIG/Makefile.am b/src/NOTIFICATION_SWIG/Makefile.am index 0dd4b57df..b332aa1e6 100644 --- a/src/NOTIFICATION_SWIG/Makefile.am +++ b/src/NOTIFICATION_SWIG/Makefile.am @@ -55,7 +55,7 @@ _libNOTIFICATION_la_CPPFLAGS =\ _libNOTIFICATION_la_LDFLAGS = -module -_libNOTIFICATION_la_LIBADD = ../Notification/libSalomeNotification.la +_libNOTIFICATION_la_LIBADD = @PYTHON_LIBS@ ../Notification/libSalomeNotification.la swig_wrap.cpp : $(SWIG_SOURCES) $(SWIG) $(SWIG_FLAGS) -o $@ $< diff --git a/src/ResourcesManager/ResourcesManager.cxx b/src/ResourcesManager/ResourcesManager.cxx index 5ac93142d..e7e74b19c 100644 --- a/src/ResourcesManager/ResourcesManager.cxx +++ b/src/ResourcesManager/ResourcesManager.cxx @@ -25,6 +25,7 @@ #include #include #include +#include #include #include @@ -32,8 +33,6 @@ #ifndef WIN32 # include -#else -# include #endif #define MAX_SIZE_FOR_HOSTNAME 256; -- 2.39.2