X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Fdirent.h;h=81623562e15b1fcb35b10319d2ee9814eb1db5a5;hp=d0a6b44e98491dd04b61d5010d96db1b6bf6ddf4;hb=419ae6d5c95629d3ebaff6f1880d52cb027ba924;hpb=7b5467cbae266d9cf91404a13c9b6b6e1d9b8204 diff --git a/include/dirent.h b/include/dirent.h index d0a6b44e..81623562 100644 --- a/include/dirent.h +++ b/include/dirent.h @@ -36,7 +36,7 @@ int dirfd(DIR *); int alphasort(const struct dirent **, const struct dirent **); int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct dirent **, const struct dirent **)); -#ifdef _GNU_SOURCE +#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) #define DT_UNKNOWN 0 #define DT_FIFO 1 #define DT_CHR 2