diff options
author | Guillem Jover <guillem@hadrons.org> | 2009-05-29 02:45:54 +0200 |
---|---|---|
committer | Guillem Jover <guillem@hadrons.org> | 2009-05-29 02:45:54 +0200 |
commit | 45783ae4ca20b0b55f549785e5f63209750b60ed (patch) | |
tree | 83eb6abc9357d0e0089f241115456fab65609de3 /src | |
parent | 5902730a03a2df02a0ad71c62ce83046fc6c2bb8 (diff) | |
download | libbsd-45783ae4ca20b0b55f549785e5f63209750b60ed.tar.gz |
Define N_SYMSIZE in case the system does not do it
Fixes build failures on some non-Linux ports.
Based-on-patch-by: Petr Salinger <Petr.Salinger@seznam.cz>
Diffstat (limited to 'src')
-rw-r--r-- | src/nlist.c | 3 |
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 *); |