aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/opensolaris/cmd/mdb
diff options
context:
space:
mode:
Diffstat (limited to 'cddl/contrib/opensolaris/cmd/mdb')
-rw-r--r--cddl/contrib/opensolaris/cmd/mdb/tools/common/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cddl/contrib/opensolaris/cmd/mdb/tools/common/util.h b/cddl/contrib/opensolaris/cmd/mdb/tools/common/util.h
index 34e191b6a656..a0932ada0d57 100644
--- a/cddl/contrib/opensolaris/cmd/mdb/tools/common/util.h
+++ b/cddl/contrib/opensolaris/cmd/mdb/tools/common/util.h
@@ -40,7 +40,9 @@ extern int findelfsecidx(Elf *, char *);
extern void die(char *, ...);
extern void elfdie(char *, ...);
+#if defined(sun)
extern const char *progname;
+#endif
#ifdef __cplusplus
}