Define _POSIX_SOURCE before includes

This commit is contained in:
Camden Dixie O'Brien 2022-10-14 18:54:07 +01:00
parent f3c7f9e20a
commit ae35d05390

2
main.c
View File

@ -16,6 +16,8 @@
* <https://www.gnu.org/licenses/>.
*/
#define _POSIX_SOURCE
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>