[cmake-commits] king committed cmELF.cxx 1.2 1.3

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Feb 28 08:43:12 EST 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv10679

Modified Files:
	cmELF.cxx 
Log Message:
COMP: cmELF needs to include sys/link.h to get dynamic section structures on the Sun.


Index: cmELF.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmELF.cxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- cmELF.cxx	28 Feb 2008 13:32:05 -0000	1.2
+++ cmELF.cxx	28 Feb 2008 13:43:10 -0000	1.3
@@ -24,6 +24,9 @@
 
 // Include the ELF format information system header.
 #include <elf.h>
+#if defined(__sun)
+# include <sys/link.h> // For dynamic section information
+#endif
 
 //----------------------------------------------------------------------------
 // Low-level byte swapping implementation.



More information about the Cmake-commits mailing list