_XOPEN_SOURCE should be defined on CFLAGS if needed

This commit is contained in:
Thomas Bernard
2018-12-17 10:35:30 +01:00
parent 8e6ddb4066
commit 595348e7ed
4 changed files with 0 additions and 17 deletions

View File

@@ -28,12 +28,6 @@
#include <windows.h>
#endif
// On Debian, this is already implied in dirent.h
// I don't know which targets need it and what it does. - yr
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 500
#endif
#include <fcntl.h>
#include <stdio.h>
#include <string.h>