mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-04-24 18:58:52 +02:00
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>
This commit is contained in:
parent
5902730a03
commit
45783ae4ca
@ -57,6 +57,9 @@ static char sccsid[] = "@(#)nlist.c 8.1 (Berkeley) 6/4/93";
|
|||||||
|
|
||||||
#ifdef _NLIST_DO_AOUT
|
#ifdef _NLIST_DO_AOUT
|
||||||
static int __aout_fdnlist(int, struct nlist *);
|
static int __aout_fdnlist(int, struct nlist *);
|
||||||
|
#ifndef N_SYMSIZE
|
||||||
|
#define N_SYMSIZE(a) ((a).a_syms)
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#ifdef _NLIST_DO_ELF
|
#ifdef _NLIST_DO_ELF
|
||||||
static int __elf_fdnlist(int, struct nlist *);
|
static int __elf_fdnlist(int, struct nlist *);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user