mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 22:32:43 -04:00
cross-build: This is not glibc specific, but Linux specific
Neither glibc nor musl define these interfaces, so provide them for all Linux builds. Sponsored by: Netflix Reviewed by: val_packett.cool Differential Revision: https://reviews.freebsd.org/D45355
This commit is contained in:
parent
3c5f0da510
commit
0e03402139
1 changed files with 2 additions and 2 deletions
|
|
@ -36,7 +36,7 @@
|
|||
#include <sys/cdefs.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef __GLIBC__
|
||||
#ifdef __linux__
|
||||
extern const char *__progname;
|
||||
const char *
|
||||
getprogname(void)
|
||||
|
|
@ -48,4 +48,4 @@ setprogname(const char *progname)
|
|||
{
|
||||
__progname = progname;
|
||||
}
|
||||
#endif /* __GLIBC__ */
|
||||
#endif /* __linux__ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue