summaryrefslogtreecommitdiff
path: root/src/nlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nlist.c')
-rw-r--r--src/nlist.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nlist.c b/src/nlist.c
index e1815c6..0fcf324 100644
--- a/src/nlist.c
+++ b/src/nlist.c
@@ -57,6 +57,9 @@ static char sccsid[] = "@(#)nlist.c 8.1 (Berkeley) 6/4/93";
#ifdef _NLIST_DO_AOUT
static int __aout_fdnlist(int, struct nlist *);
+#ifndef N_SYMSIZE
+#define N_SYMSIZE(a) ((a).a_syms)
+#endif
#endif
#ifdef _NLIST_DO_ELF
static int __elf_fdnlist(int, struct nlist *);