_XOPEN_SOURCE should be defined on CFLAGS if needed
This commit is contained in:
parent
8e6ddb4066
commit
595348e7ed
@ -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>
|
||||
|
||||
@ -47,9 +47,6 @@
|
||||
#define MOUNTED_GETMNTENT1
|
||||
#endif
|
||||
|
||||
#ifndef _XOPEN_SOURCE
|
||||
#define _XOPEN_SOURCE 500
|
||||
#endif
|
||||
// --- END GRAFX2 CUSTOM CONFIG ---
|
||||
|
||||
#include "mountlist.h"
|
||||
|
||||
@ -21,10 +21,6 @@
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with Grafx2; if not, see <http://www.gnu.org/licenses/>
|
||||
*/
|
||||
#ifndef _XOPEN_SOURCE
|
||||
#define _XOPEN_SOURCE 500
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@ -1,9 +1,5 @@
|
||||
/* vim:expandtab:ts=2 sw=2:
|
||||
*/
|
||||
#ifndef _XOPEN_SOURCE
|
||||
#define _XOPEN_SOURCE 500
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user