summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/cmELF.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmELF.cxx b/Source/cmELF.cxx
index 8b9d9af..5450eea 100644
--- a/Source/cmELF.cxx
+++ b/Source/cmELF.cxx
@@ -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.