aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/opensolaris/cmd/sgs/include/alist.h
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>2008-04-26 03:47:34 +0000
committerJohn Birrell <jb@FreeBSD.org>2008-04-26 03:47:34 +0000
commit0f497243593650e2a6a533b0c4330dde128f8aab (patch)
tree3a56ee41f4a10f552cb957106e0cec68cafaa045 /cddl/contrib/opensolaris/cmd/sgs/include/alist.h
parent9f1fe401d93a3361cc7f0bf5c0948cc6a0060f32 (diff)
downloadsrc-0f497243593650e2a6a533b0c4330dde128f8aab.tar.gz
src-0f497243593650e2a6a533b0c4330dde128f8aab.zip
Apply FreeBSD changes.
Notes
Notes: svn path=/head/; revision=178540
Diffstat (limited to 'cddl/contrib/opensolaris/cmd/sgs/include/alist.h')
-rw-r--r--cddl/contrib/opensolaris/cmd/sgs/include/alist.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cddl/contrib/opensolaris/cmd/sgs/include/alist.h b/cddl/contrib/opensolaris/cmd/sgs/include/alist.h
index e92811f2ee5c..c27160bd35cc 100644
--- a/cddl/contrib/opensolaris/cmd/sgs/include/alist.h
+++ b/cddl/contrib/opensolaris/cmd/sgs/include/alist.h
@@ -39,7 +39,11 @@ extern "C" {
#endif
#include <sys/types.h>
+#if defined(sun)
#include <sys/machelf.h>
+#else
+#include <sys/elf.h>
+#endif
/*
* An Alist implements array lists. The functionality is similar to