Commit e4475738 authored by Guillem Jover's avatar Guillem Jover

Try <linux/a.out.h> if <a.out.h> is not present

At least musl ships the former but not the latter.
parent d6c35f61
......@@ -28,7 +28,12 @@
#define LIBBSD_NLIST_H
#include <sys/cdefs.h>
#if __has_include(<a.out.h>)
#include <a.out.h>
#elif __has_include(<linux/a.out.h>)
#include <linux/a.out.h>
#endif
__BEGIN_DECLS
extern int nlist(const char *filename, struct nlist *list);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment