mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-11-24 10:33:35 +08:00
Define _XOPEN_SOURCE to be 500 to fix compilation problems on Solaris.
This commit is contained in:
parent
8ceb55f0e5
commit
07f031fd1d
@ -1,3 +1,8 @@
|
||||
2005-02-03 Theodore Ts'o <tytso@mit.edu>
|
||||
|
||||
* set_fields.c: Define _XOPEN_SOURCE to be 500 to fix compilation
|
||||
problems on Solaris.
|
||||
|
||||
2005-01-20 Theodore Ts'o <tytso@mit.edu>
|
||||
|
||||
* set_fields.c: Add support for the jnl_blocks[] for set_super_value
|
||||
|
@ -9,11 +9,7 @@
|
||||
* %End-Header%
|
||||
*/
|
||||
|
||||
#ifndef __sun__
|
||||
/* Solaris for some strange reason drops struct
|
||||
timeval if _XOPEN_SOURCE defined */
|
||||
#define _XOPEN_SOURCE /* glibc2 needs this for strptime */
|
||||
#endif
|
||||
#define _XOPEN_SOURCE 500 /* for inclusion of strptime() */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-02-03 Theodore Ts'o <tytso@mit.edu>
|
||||
|
||||
* tune2fs.c: Define _XOPEN_SOURCE to be 500 to fix compilation
|
||||
problems on Solaris.
|
||||
|
||||
2005-01-28 Theodore Ts'o <tytso@mit.edu>
|
||||
|
||||
* mke2fs.c (main): Only call create_resize_inode if the resize
|
||||
|
@ -25,11 +25,7 @@
|
||||
* 94/03/06 - Added the checks interval from Uwe Ohse (uwe@tirka.gun.de)
|
||||
*/
|
||||
|
||||
#ifndef __sun__
|
||||
/* Solaris for a strange reason drops struct
|
||||
timeval if _XOPEN_SOURCE defined */
|
||||
#define _XOPEN_SOURCE /* for inclusion of strptime() */
|
||||
#endif
|
||||
#define _XOPEN_SOURCE 500 /* for inclusion of strptime() */
|
||||
#define _BSD_SOURCE /* for inclusion of strcasecmp() */
|
||||
#include <fcntl.h>
|
||||
#include <grp.h>
|
||||
|
Loading…
Reference in New Issue
Block a user