--- include/bsd/nlist.h 2013-10-10 08:14:26.000000000 +0200 +++ include/bsd/nlist.h 2015-10-31 14:32:06.038427778 +0100 @@ -28,7 +28,11 @@ #define LIBBSD_NLIST_H #include +#if defined(__GLIBC__) #include +#else +#include "a.out.h" +#endif /* !defined(__GLIBC__) */ __BEGIN_DECLS extern int nlist(const char *filename, struct nlist *list); --- src/nlist.c 2015-10-31 14:36:20.857402580 +0100 +++ src/nlist.c 2015-10-31 14:24:23.407473525 +0100 @@ -40,7 +40,7 @@ #include #include #include -#include +#include "nlist.h" #include #include #include